This commit is contained in:
Elias Naur 2003-01-12 11:42:27 +00:00
parent 1b3d0278f9
commit 86c4ce70dc
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ JNIEXPORT jobjectArray JNICALL Java_org_lwjgl_Display_getAvailableDisplayModes
printf("Could not load GL\n");
#endif
XCloseDisplay(disp);
return JNI_FALSE;
return NULL;
}
if (!getDisplayModes(disp, screen, &num_modes, &avail_modes)) {
#ifdef _DEBUG