aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/NativeLibLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/jogl/impl/NativeLibLoader.java')
-rw-r--r--src/net/java/games/jogl/impl/NativeLibLoader.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/java/games/jogl/impl/NativeLibLoader.java b/src/net/java/games/jogl/impl/NativeLibLoader.java
index 65c199f05..87a03be4f 100644
--- a/src/net/java/games/jogl/impl/NativeLibLoader.java
+++ b/src/net/java/games/jogl/impl/NativeLibLoader.java
@@ -41,7 +41,10 @@ package net.java.games.jogl.impl;
public class NativeLibLoader {
static {
- System.loadLibrary("jawt");
+ boolean isOSX = System.getProperty("os.name").equals("Mac OS X");
+ if (!isOSX) {
+ System.loadLibrary("jawt");
+ }
System.loadLibrary("jogl");
}