diff options
author | Sven Gothel <[email protected]> | 2011-09-30 15:48:43 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-30 15:48:43 +0200 |
commit | d055b6cc48974a53a416533f85c191e20c0a885e (patch) | |
tree | dc998a50da29c10c0974e3582e5b87288a627195 /src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java | |
parent | c516858d79ed6d9c68271c1502b3ad19417b19a7 (diff) |
ES Library lookup order - Favor spec lib name
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java index ac6d76220..28c480b0c 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLES2DynamicLibraryBundleInfo.java @@ -44,17 +44,21 @@ public class EGLES2DynamicLibraryBundleInfo extends EGLDynamicLibraryBundleInfo { final List<String> libsGL = new ArrayList<String>(); - // try default generic names first - libsGL.add("GLES20"); + // GLESv2 libsGL.add("GLESv2"); + libsGL.add("libGLESv2.so"); + // this is the default lib name, according to the spec + libsGL.add("libGLESv2.so.2"); + + // alternative names + libsGL.add("GLES20"); libsGL.add("GLESv2_CM"); + // for windows distributions using the 'unlike' lib prefix // where our tool does not add it. - libsGL.add("libGLES20"); libsGL.add("libGLESv2"); libsGL.add("libGLESv2_CM"); - // this is the default lib name, according to the spec - libsGL.add("libGLESv2.so.2"); + libsGL.add("libGLES20"); libsList.add(libsGL); } |