From 6cc35a9171db43f6c7551cc1c89202c08c88eae9 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 24 Apr 2011 14:13:18 +0200 Subject: jogl.debug.DebugGL enables new DebugMessage/Output feature --- src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java') diff --git a/src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java b/src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java index 70f523156..f67c916ea 100644 --- a/src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java +++ b/src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java @@ -234,6 +234,12 @@ public class GLDebugMessageHandler { } } + public static class StdErrGLDebugListener implements GLDebugListener { + public void messageSent(GLDebugMessage event) { + System.err.println(event); + } + } + // // native -> java // -- cgit v1.2.3