Fixed bug when a X display connection cannot be established (again)

This commit is contained in:
Elias Naur 2003-02-20 13:27:20 +00:00
parent 6113da5083
commit 6196e6845b
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ JNIEXPORT jobjectArray JNICALL Java_org_lwjgl_Display_getAvailableDisplayModes
return NULL;
}
int screen = DefaultScreen(disp);
screen = DefaultScreen(disp);
if (!loadGL(disp, screen)) {
#ifdef _DEBUG