mirror of https://github.com/vurtun/nuklear.git
Merge pull request #649 from Dickby/master
correct version of opengl in demo x11_opengl2pull/650/head
commit
1acb673af1
|
@ -211,8 +211,8 @@ int main(void)
|
|||
glContext = glXCreateNewContext(win.dpy, win.fbc, GLX_RGBA_TYPE, 0, True);
|
||||
} else {
|
||||
GLint attr[] = {
|
||||
GLX_CONTEXT_MAJOR_VERSION_ARB, 3,
|
||||
GLX_CONTEXT_MINOR_VERSION_ARB, 0,
|
||||
GLX_CONTEXT_MAJOR_VERSION_ARB, 2,
|
||||
GLX_CONTEXT_MINOR_VERSION_ARB, 2,
|
||||
None
|
||||
};
|
||||
glContext = create_context(win.dpy, win.fbc, 0, True, attr);
|
||||
|
|
Loading…
Reference in New Issue