Re: No glDebugMessageCallback in javax.media.opengl.GL4
Posted by
Sven Gothel on
Oct 15, 2014; 9:12pm
URL: https://forum.jogamp.org/No-glDebugMessageCallback-in-javax-media-opengl-GL4-tp4033318p4033368.html
On 10/15/2014 08:46 PM, ericg [via jogamp] wrote:
> Those test look similar to what I am doing with likely the same effect:
>
> drawable.setGL(new DebugGL4(drawable.getGL().getGL4()));
>
> This gives me great error/stacktrace output with line numbers etc.
Well, the debug pipeline alone just does the glGetError() checking
for each call.
Using sys property via cmdline '-Djogl.debug.DebugGL'
additionally enables the OpenGL debug context w/ default listener.
The demo code I have referenced additionally actually
injects debug messages and a hooks up a custom debug listener.
~Sven