From 6944d3485ad005c6cd69a3122479f1fbaef26dfc Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 18 Jun 2013 01:44:39 +0200 Subject: GLDynamicLibraryBundleInfo.shallLinkGlobal(): Defaults to 'true' now, allowing to remove specialized values. - Windows always used global - The OpenGL library is always available by all processes system wide. - Tested on OSX (was using local, previously). --- .../jogamp/opengl/GLDynamicLibraryBundleInfo.java | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java') diff --git a/src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java index 4c82fc2b3..a2e3b3175 100644 --- a/src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java +++ b/src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java @@ -36,11 +36,21 @@ public abstract class GLDynamicLibraryBundleInfo implements DynamicLibraryBundle protected GLDynamicLibraryBundleInfo() { } - /** default **/ - @Override - public boolean shallLinkGlobal() { return false; } - - /** default **/ + /** + * Returns true, + * since we might load a desktop GL library and allow symbol access to subsequent libs. + *

+ * This respects old DRI requirements: + *

+     * http://dri.sourceforge.net/doc/DRIuserguide.html
+     * 
+ *

+ */ + public boolean shallLinkGlobal() { return true; } + + /** + * Default value: false. + */ @Override public boolean shallLookupGlobal() { return false; } -- cgit v1.2.3