fixed loading of awt through use of loadLibrary on windows
This commit is contained in:
parent
43a4117e42
commit
94cb99de64
|
@ -65,6 +65,7 @@ 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…
Reference in New Issue