mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
LinuxDisplay.java: Fixed missing return
This commit is contained in:
parent
9aefad3f09
commit
86515f96a0
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
String error_msg = getErrorText(display, error_code);
|
||||
throw new LWJGLException("X Error - disp: 0x" + Long.toHexString(error_display) + " serial: " + serial + " error: " + error_msg + " request_code: " + request_code + " minor_code: " + minor_code);
|
||||
} else if (saved_error_handler != 0)
|
||||
callErrorHandler(saved_error_handler, display, event_ptr);
|
||||
return callErrorHandler(saved_error_handler, display, event_ptr);
|
||||
return 0;
|
||||
}
|
||||
private static native String getErrorText(long display, long error_code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue