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/x11 | |
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/x11')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDynamicLibraryBundleInfo.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDynamicLibraryBundleInfo.java index 51b6144c5..60e163c46 100644 --- a/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDynamicLibraryBundleInfo.java +++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDynamicLibraryBundleInfo.java @@ -39,7 +39,7 @@ public class X11GLXDynamicLibraryBundleInfo extends DesktopGLDynamicLibraryBundl public List getToolLibNames() { List/*<List>*/ libNamesList = new ArrayList(); - List/*<String>*/ glesLibNames = new ArrayList(); + List/*<String>*/ glLibNames = new ArrayList(); // Be aware that on DRI systems, eg ATI fglrx, etc, // you have to set LIBGL_DRIVERS_PATH env variable. @@ -47,16 +47,16 @@ public class X11GLXDynamicLibraryBundleInfo extends DesktopGLDynamicLibraryBundl // export LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri // - // this is the default GL lib name, according to the spec - glesLibNames.add("libGL.so.1"); + // this is the default lib name, according to the spec + glLibNames.add("libGL.so.1"); // try this one as well, if spec fails - glesLibNames.add("libGL.so"); + glLibNames.add("libGL.so"); // last but not least .. the generic one - glesLibNames.add("GL"); + glLibNames.add("GL"); - libNamesList.add(glesLibNames); + libNamesList.add(glLibNames); return libNamesList; } |