x11/gl: Set the correct minor version

The major version is set twice.

https://bugzilla.gnome.org/show_bug.cgi?id=741954
This commit is contained in:
Emmanuele Bassi
2014-12-25 11:49:58 +00:00
parent ec37fbe2e2
commit 5d42c55f28

View File

@ -742,7 +742,7 @@ create_gl3_context (GdkDisplay *display,
static const int attrib_list[] = {
GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB,
GLX_CONTEXT_MAJOR_VERSION_ARB, 3,
GLX_CONTEXT_MAJOR_VERSION_ARB, 2,
GLX_CONTEXT_MINOR_VERSION_ARB, 2,
None,
};