diff options
author | Sven Gothel <[email protected]> | 2011-08-01 20:51:22 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-01 20:51:22 +0200 |
commit | e91429bc17c409cd69f2abf36dfef7035e195b09 (patch) | |
tree | 9d3c945f80c244fbe2b93fc8737ea94e1be893b6 /src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java | |
parent | 5884366b39182fdc84dd1565d1727dde03606897 (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/EGLES2DynamicLibraryBundleInfo.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java index 5a9815fdd..361f0148e 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java @@ -47,6 +47,7 @@ public class EGLES2DynamicLibraryBundleInfo extends EGLDynamicLibraryBundleInfo List/*<List>*/ libNames = new ArrayList(); List/*<String>*/ glesLibNames = new ArrayList(); + // try default generic names first glesLibNames.add("GLES20"); glesLibNames.add("GLESv2"); glesLibNames.add("GLESv2_CM"); @@ -55,7 +56,9 @@ public class EGLES2DynamicLibraryBundleInfo extends EGLDynamicLibraryBundleInfo glesLibNames.add("libGLES20"); glesLibNames.add("libGLESv2"); glesLibNames.add("libGLESv2_CM"); - + // this is the default lib name, according to the spec + glesLibNames.add("libGLESv2.so.2"); + libNames.add(glesLibNames); libNames.add(getEGLLibNamesList()); return libNames; |