mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-25 14:34:42 +00:00
SDL3 Port for better keyboard&Wayland support - lwjgl3ify 3.0 (#202)
This commit is contained in:
1 parent
19bdc08297
commit
0fda85575f
59 files changed
+2729
-4100
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package org.lwjglx;
|
||||
|
||||
import static org.lwjgl.sdl.SDLError.SDL_GetError;
|
||||
|
||||
public class SDLException extends RuntimeException {
|
||||
|
||||
public SDLException() {
|
||||
super("SDL error: " + SDL_GetError());
|
||||
}
|
||||
|
||||
public SDLException(String message) {
|
||||
super(message + ", SDL error: " + SDL_GetError());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user