fixed loading of awt through use of loadLibrary on windows

This commit is contained in:
Brian Matzon 2005-03-08 20:44:41 +00:00
parent 43a4117e42
commit 94cb99de64
1 changed files with 1 additions and 0 deletions

View File

@ -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";