Small linux fix

This commit is contained in:
Elias Naur 2004-02-25 16:44:45 +00:00
parent 9592f68c8e
commit 52a709efd6
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate
return;
}
screen = XDefaultScreen(disp);
if (!extgl_InitGLX(env, ext_set, disp, screen)) {
if (!extgl_InitGLX(env, disp, screen)) {
XCloseDisplay(disp);
extgl_Close();
throwException(env, "Could not init GLX");