OldStyleGLCapabilitiesChooser changes

hi

Can someone please change the following lines in com.xith3d.render.jsr231.OldStyleGLCapabilitiesChooser


-    private static final boolean DEBUG = true;
+    private static boolean debug = true;
+     
+    public static void enableDebug(boolean b)
+    {
+        debug = b;
+    }

So we can get rid of these annoing GLCapabilities dumps :slight_smile:

I don’t know the pendant in lwjgl or if it is even necessary there.

Done. But I replaced enableDebug() by setDebugEnabled() which is more clear (enableDebug() can also be used to disable debug)

[quote="<MagicSpark.org [ BlueSky ]>,post:2,topic:27760"]
Done. But I replaced enableDebug() by setDebugEnabled() which is more clear (enableDebug() can also be used to disable debug)
[/quote]
That’s ok for me. Thanks.