Linux: Fixed repeat issue
This commit is contained in:
parent
ad32e919e0
commit
19fbff094b
|
@ -271,6 +271,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Display_nSetTitle
|
|||
}
|
||||
|
||||
static void destroyWindow() {
|
||||
setRepeatMode(AutoRepeatModeDefault);
|
||||
XDestroyWindow(getDisplay(), current_win);
|
||||
XFreeColormap(getDisplay(), cmap);
|
||||
}
|
||||
|
@ -520,7 +521,6 @@ static void destroyContext(void) {
|
|||
}
|
||||
XFree(vis_info);
|
||||
glXDestroyContext(getDisplay(), context);
|
||||
setRepeatMode(AutoRepeatModeDefault);
|
||||
}
|
||||
|
||||
static bool initWindowGLX13(JNIEnv *env, jobject pixel_format) {
|
||||
|
|
Loading…
Reference in New Issue