mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-09 08:24:23 +00:00
Moved Win32 specific code to win32 specific class(!)
This commit is contained in:
parent
7d7ec34082
commit
ed325d0c95
2 changed files with 4 additions and 1 deletions
|
|
@ -65,7 +65,6 @@ public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener,
|
|||
if (OS_NAME.startsWith("Linux")) {
|
||||
class_name = "org.lwjgl.opengl.LinuxCanvasImplementation";
|
||||
} else if (OS_NAME.startsWith("Windows")) {
|
||||
System.loadLibrary("jawt");
|
||||
class_name = "org.lwjgl.opengl.Win32CanvasImplementation";
|
||||
} else if (OS_NAME.startsWith("Mac")) {
|
||||
class_name = "org.lwjgl.opengl.MacOSXCanvasImplementation";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue