summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-18 01:44:39 +0200
committerSven Gothel <[email protected]>2013-06-18 01:44:39 +0200
commit6944d3485ad005c6cd69a3122479f1fbaef26dfc (patch)
treebaaf5a56527439bb5bd71448b746c82b497ac730 /src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java
parentd846b04928ecfcfb319e75d7ed114d357edbeb89 (diff)
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).
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLDynamicLibraryBundleInfo.java20
1 files changed, 15 insertions, 5 deletions
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 <code>true</code>,
+ * since we might load a desktop GL library and allow symbol access to subsequent libs.
+ * <p>
+ * This respects old DRI requirements:
+ * <pre>
+ * http://dri.sourceforge.net/doc/DRIuserguide.html
+ * </pre>
+ * </p>
+ */
+ public boolean shallLinkGlobal() { return true; }
+
+ /**
+ * Default value: <code>false</code>.
+ */
@Override
public boolean shallLookupGlobal() { return false; }