aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/javax')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLProfile.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java
index ead5f6396..83a9b0098 100644
--- a/src/jogl/classes/javax/media/opengl/GLProfile.java
+++ b/src/jogl/classes/javax/media/opengl/GLProfile.java
@@ -54,7 +54,7 @@ import com.sun.nativewindow.impl.jvm.JVMUtil;
* or more specialized versions using the other static GetProfile methods.
*/
public class GLProfile implements Cloneable {
- public static final boolean DEBUG = Debug.debug("GLProfile");
+ public static final boolean DEBUG = true; /* Debug.debug("GLProfile"); */
//
// Public (user-visible) profiles
@@ -736,8 +736,8 @@ public class GLProfile implements Cloneable {
}
}
mappedProfiles = _mappedProfiles; // final ..
- if(null==defaultGLProfile) {
- throw new GLException("No profile available: "+list2String(GL_PROFILE_LIST_ALL));
+ if (null==defaultGLProfile) {
+ System.out.println("No profile available: "+list2String(GL_PROFILE_LIST_ALL));
}
}