Login  Register

Re: JOGL Printing Error on Boor

Posted by bgroenks96 on Jan 11, 2014; 2:49am
URL: https://forum.jogamp.org/JOGL-Printing-Error-on-Boot-tp4031154p4031156.html

Ok!  I tracked down the problem using debug to being a call to glOrtho before the view dimensions had been initialized, thus resulting in 0 width/height.  Thanks Sven!

Quick question, GLAutoDrawable.resize will always be called once before display() right?  This matters for my initialization process.

I'm also still getting this output from debug:
msg Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches.
        when 1389408264627

How do I address that?