Hi all!
Has anyone encountered any problems when using glPolygonMode one a DebugGL instance instead of the usual GL instance? I used a DebugGL object to scan for possible errors in my application, but I get a :
Exception in thread “AWT-EventQueue-0” javax.media.opengl.GLException: glGetError() returned the following error codes after a call to glPolygonMode(): GL_INVALID_ENUM
at javax.media.opengl.DebugGL.checkGLGetError(DebugGL.java:11724)
at javax.media.opengl.DebugGL.glPolygonMode(DebugGL.java:6360)
when using gl.glPolygonMode(GL.GL_FRONT_AND_BACK, GL.GL_FILL). Any other valid argument combination gives the same results. Since these arguments are valid, why do I get this INVALID_ENUM error;
Thanks in advance
N