2.1
This commit is contained in:
parent
99dc2fc570
commit
e91e76f388
|
@ -732,8 +732,8 @@ glx_create_context(GLXFBConfig fb_config){
|
||||||
ctx = glXCreateNewContext(linuxvars.dpy, fb_config, GLX_RGBA_TYPE, 0, True);
|
ctx = glXCreateNewContext(linuxvars.dpy, fb_config, GLX_RGBA_TYPE, 0, True);
|
||||||
} else {
|
} else {
|
||||||
static const int context_attribs[] = {
|
static const int context_attribs[] = {
|
||||||
GLX_CONTEXT_MAJOR_VERSION_ARB, 3,
|
GLX_CONTEXT_MAJOR_VERSION_ARB, 2,
|
||||||
GLX_CONTEXT_MINOR_VERSION_ARB, 2,
|
GLX_CONTEXT_MINOR_VERSION_ARB, 1,
|
||||||
GLX_CONTEXT_PROFILE_MASK_ARB , GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,
|
GLX_CONTEXT_PROFILE_MASK_ARB , GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,
|
||||||
#if GL_DEBUG_MODE
|
#if GL_DEBUG_MODE
|
||||||
GLX_CONTEXT_FLAGS_ARB , GLX_CONTEXT_DEBUG_BIT_ARB,
|
GLX_CONTEXT_FLAGS_ARB , GLX_CONTEXT_DEBUG_BIT_ARB,
|
||||||
|
|
Loading…
Reference in New Issue