aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-02-10 20:06:04 +0000
committerKenneth Russel <[email protected]>2006-02-10 20:06:04 +0000
commit4b14f14cbb84c3d60d3fb501d78873c574eec6bd (patch)
tree2bac953157778f18e0eff06c4c01fe08e55d9076 /src/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java
parentc6ed1767abe191648219a403828ecf32ad5ad25e (diff)
Made loading of GLU library lazier, partially in the hope that this
may address problems on certain Linux distributions where for some reason we're falling back to software rendering with Mesa git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@595 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java')
-rw-r--r--src/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java b/src/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java
index 45a875361..3f9580cc7 100644
--- a/src/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java
+++ b/src/classes/com/sun/opengl/impl/GLDrawableFactoryImpl.java
@@ -75,6 +75,11 @@ public abstract class GLDrawableFactoryImpl extends GLDrawableFactory implements
return (GLDrawableFactoryImpl) getFactory();
}
+ // Helper function for more lazily loading the GLU library;
+ // apparently can't use System.loadLibrary on UNIX because it uses
+ // RTLD_LOCAL and we need to call dlsym(RTLD_DEFAULT)
+ public abstract void loadGLULibrary();
+
//----------------------------------------------------------------------
// Gamma adjustment support
// Thanks to the LWJGL team for illustrating how to make these