From bc0efe87ffc160858088ae95840c69e9290f25f2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 21 Jul 2008 00:18:02 +0000 Subject: - New profile GL2ES12 (desktop) - Intersection of GL2 + GLES1 + GLES2 - Common set of GLES1 + GLES2 - Utilized new 'ExtendedInterfaceSymbolsOnly' gluegen config - DroppingUniqVendorExtension + 3DFX + APPLE - Some APPLE enumerates are manually provided! - Removing of 'jogl.oswin.jar' - since it is redundant now! - Proper partitioning of 'jogl.gl2' and 'jogl.gl2es12' for - x11, win and osx - Profile selection/trial for e.g. GL2ES1 is now in the following order: 1) GLES1 2) GL2ES12 3) GL2 - Footprint for all profiles below 1/2 MB, NEWT: ES1: 284 kB ES2: 280 kB GL2ES12: 332 kB GL2: 456 kB git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1729 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/impl/GLReflection.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/classes') diff --git a/src/classes/com/sun/opengl/impl/GLReflection.java b/src/classes/com/sun/opengl/impl/GLReflection.java index bbcb7c8..256a9b9 100644 --- a/src/classes/com/sun/opengl/impl/GLReflection.java +++ b/src/classes/com/sun/opengl/impl/GLReflection.java @@ -44,9 +44,7 @@ public final class GLReflection { public static final boolean isClassAvailable(String clazzName) { try { Class clazz = Class.forName(clazzName); - if (null!=clazz) { - return true; - } + return null!=clazz; } catch (Exception e) { } return false; } -- cgit v1.2.3