aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-04-24 14:13:18 +0200
committerSven Gothel <[email protected]>2011-04-24 14:13:18 +0200
commit6cc35a9171db43f6c7551cc1c89202c08c88eae9 (patch)
treedac43a82aed6ae5efe815417879b7561af95f8d1 /src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java
parent72484bf9f6e5109982cfa825f167f10d29061ff0 (diff)
jogl.debug.DebugGL enables new DebugMessage/Output feature
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java6
1 files changed, 6 insertions, 0 deletions
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
//