mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 15:04:41 +00:00
Fixed bug when a X display connection cannot be established (again)
This commit is contained in:
parent
6113da5083
commit
6196e6845b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue