From f043a48504b79409df4e674a15c87faa3f47c03f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 3 Oct 2009 13:47:44 -0700 Subject: EGL debug fixes .. --- src/jogl/classes/javax/media/opengl/DefaultGLCapabilitiesChooser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/jogl/classes/javax') diff --git a/src/jogl/classes/javax/media/opengl/DefaultGLCapabilitiesChooser.java b/src/jogl/classes/javax/media/opengl/DefaultGLCapabilitiesChooser.java index cc7afaa95..5450e400b 100644 --- a/src/jogl/classes/javax/media/opengl/DefaultGLCapabilitiesChooser.java +++ b/src/jogl/classes/javax/media/opengl/DefaultGLCapabilitiesChooser.java @@ -41,6 +41,7 @@ package javax.media.opengl; import javax.media.nativewindow.Capabilities; import javax.media.nativewindow.NativeWindowException; +import com.sun.opengl.impl.Debug; /**

The default implementation of the {@link GLCapabilitiesChooser} interface, which provides consistent visual @@ -81,7 +82,7 @@ import javax.media.nativewindow.NativeWindowException; */ public class DefaultGLCapabilitiesChooser implements GLCapabilitiesChooser { - private static final boolean DEBUG = true; // FIXME: Debug.debug("DefaultGLCapabilitiesChooser"); + private static final boolean DEBUG = Debug.debug("CapabilitiesChooser"); public int chooseCapabilities(Capabilities desired, Capabilities[] available, -- cgit v1.2.3