Various linux fixes(alot)

This commit is contained in:
Elias Naur 2003-03-27 18:27:36 +00:00
parent 33439a63d4
commit 8343bfa44c
2 changed files with 10 additions and 4 deletions

View file

@ -279,6 +279,7 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_Display_nCreate(JNIEnv * env, jclass c
}
screen = DefaultScreen(disp);
if (!loadGL(disp, screen)) {
XCloseDisplay(disp);
#ifdef _DEBUG
printf("Could not load GL libs\n");
#endif