aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.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/x11/X11GLDrawableFactory.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/x11/X11GLDrawableFactory.java')
-rw-r--r--src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java b/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java
index 6d6f02441..248371c37 100644
--- a/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java
+++ b/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java
@@ -261,6 +261,10 @@ public class X11GLDrawableFactory extends GLDrawableFactoryImpl {
return new X11ExternalGLDrawable();
}
+ public void loadGLULibrary() {
+ GLX.dlopen("/usr/lib/libGLU.so");
+ }
+
public long dynamicLookupFunction(String glFuncName) {
long res = 0;
if (!isLinuxAMD64) {