mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-09 00:14:04 +00:00
Minor fix to Display.cpp
This commit is contained in:
parent
8202b0e14c
commit
98398e4a7a
1 changed files with 6 additions and 1 deletions
|
|
@ -142,7 +142,12 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_Display_nCreate(JNIEnv * env, jclass c
|
|||
return JNI_FALSE;
|
||||
}
|
||||
root_win = RootWindow(disp, screen);
|
||||
extgl_Open();
|
||||
if (extgl_Open() != 0) {
|
||||
#ifdef _DEBUG
|
||||
printf("Could not load gl libs\n");
|
||||
#endif
|
||||
return JNI_FALSE;
|
||||
}
|
||||
vis_info = glXChooseVisual(disp, screen, attriblist);
|
||||
|
||||
/* might be a better way to handle not being able to set GLX_ALPHA_SIZE... */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue