Added a version to the X11 GL context request

This enables the application to start on Intel graphics under Mesa 10.2
master
Thomas McGrew 2014-05-12 02:31:15 -04:00
parent 7b0adc9b24
commit 59328d86ce
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ static const int ctx_attribs[] = {
GLX_CONTEXT_FLAGS_ARB, GLX_CONTEXT_DEBUG_BIT_ARB,
#endif
GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB,
GLX_CONTEXT_MAJOR_VERSION_ARB, 3, GLX_CONTEXT_MINOR_VERSION_ARB, 2,
None,
};