Fixed bug when a X display connection cannot be established (again)
This commit is contained in:
parent
6113da5083
commit
6196e6845b
|
@ -454,7 +454,7 @@ JNIEXPORT jobjectArray JNICALL Java_org_lwjgl_Display_getAvailableDisplayModes
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int screen = DefaultScreen(disp);
|
screen = DefaultScreen(disp);
|
||||||
|
|
||||||
if (!loadGL(disp, screen)) {
|
if (!loadGL(disp, screen)) {
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
|
Loading…
Reference in New Issue