From e91429bc17c409cd69f2abf36dfef7035e195b09 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 1 Aug 2011 20:51:22 +0200 Subject: 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 --- .../opengl/x11/glx/X11GLXDynamicLibraryBundleInfo.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/x11/glx') 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/**/ libNamesList = new ArrayList(); - List/**/ glesLibNames = new ArrayList(); + List/**/ 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; } -- cgit v1.2.3