summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/egl/EGLES1DynamicLibraryBundleInfo.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-01 20:51:22 +0200
committerSven Gothel <[email protected]>2011-08-01 20:51:22 +0200
commite91429bc17c409cd69f2abf36dfef7035e195b09 (patch)
tree9d3c945f80c244fbe2b93fc8737ea94e1be893b6 /src/jogl/classes/jogamp/opengl/egl/EGLES1DynamicLibraryBundleInfo.java
parent5884366b39182fdc84dd1565d1727dde03606897 (diff)
Enable EGL/ES1/ES2 detection/test on desktop (using mesa's libraries)
Ubuntu: sudo apt-get install mesa-utils-extra libegl1-mesa libegl1-mesa-drivers libgles1-mesa libgles2-mesa
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLES1DynamicLibraryBundleInfo.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/egl/EGLES1DynamicLibraryBundleInfo.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLES1DynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/egl/EGLES1DynamicLibraryBundleInfo.java
index 221a64ced..13da8d3d4 100644
--- a/src/jogl/classes/jogamp/opengl/egl/EGLES1DynamicLibraryBundleInfo.java
+++ b/src/jogl/classes/jogamp/opengl/egl/EGLES1DynamicLibraryBundleInfo.java
@@ -47,6 +47,7 @@ public class EGLES1DynamicLibraryBundleInfo extends EGLDynamicLibraryBundleInfo
List/*<List>*/ libNames = new ArrayList();
List/*<String>*/ glesLibNames = new ArrayList();
+ // try default generic names first
glesLibNames.add("GLES_CM");
glesLibNames.add("GLES_CL");
glesLibNames.add("GLESv1_CM");
@@ -55,6 +56,8 @@ public class EGLES1DynamicLibraryBundleInfo extends EGLDynamicLibraryBundleInfo
glesLibNames.add("libGLES_CM");
glesLibNames.add("libGLES_CL");
glesLibNames.add("libGLESv1_CM");
+ // this is the default lib name, according to the spec
+ glesLibNames.add("libGLESv1_CM.so.1");
libNames.add(glesLibNames);
libNames.add(getEGLLibNamesList());