Small linux fix
This commit is contained in:
parent
9592f68c8e
commit
52a709efd6
|
@ -475,7 +475,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
screen = XDefaultScreen(disp);
|
screen = XDefaultScreen(disp);
|
||||||
if (!extgl_InitGLX(env, ext_set, disp, screen)) {
|
if (!extgl_InitGLX(env, disp, screen)) {
|
||||||
XCloseDisplay(disp);
|
XCloseDisplay(disp);
|
||||||
extgl_Close();
|
extgl_Close();
|
||||||
throwException(env, "Could not init GLX");
|
throwException(env, "Could not init GLX");
|
||||||
|
|
Loading…
Reference in New Issue