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/EGLDynamicLibraryBundleInfo.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/EGLDynamicLibraryBundleInfo.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java index 22d39fdae..6fd3ecf1c 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLDynamicLibraryBundleInfo.java @@ -63,11 +63,13 @@ public abstract class EGLDynamicLibraryBundleInfo extends GLDynamicLibraryBundle protected List/*<String>*/ getEGLLibNamesList() { List/*<String>*/ eglLibNames = new ArrayList(); - // EGL + // try default generic names first eglLibNames.add("EGL"); // for windows distributions using the 'unlike' lib prefix, // where our tool does not add it. eglLibNames.add("libEGL"); + // this is the default EGL lib name, according to the spec + eglLibNames.add("libEGL.so.1"); return eglLibNames; } } |