diff options
author | Kenneth Russel <[email protected]> | 2003-06-26 13:21:12 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2003-06-26 13:21:12 +0000 |
commit | 0a6e191eaebcc8edc2611dbedab6fd04a615fc2f (patch) | |
tree | 7f8a9b8e88a6bc6662827d3f092b943b1ea893fb /src/net/java/games/jogl/impl/NativeLibLoader.java | |
parent | 2b54833bb15d6cae356fa0c5777d11e152d774cb (diff) |
Initial Mac OS X port of Jogl by Gerard Ziemski and Kenneth Russell,
subsuming the previous prototype implementation (no GLCanvas support)
done by Marc Downie.
Added user's guide (HTML format) under doc/userguide/index.html.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@13 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/NativeLibLoader.java')
-rw-r--r-- | src/net/java/games/jogl/impl/NativeLibLoader.java | 5 |
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"); } |