On 10/30/2012 08:01 PM, adi [via jogamp] wrote:
> Hi
>
> Can't use
> gl.glDepthMask(GL4bc.GL_FALSE);
>
> The function needs the type boolean, but the correct
> parameter GL4bc.GL_FALSE is an integer value.
> What is wrong?
C: "void glDepthMask(GLboolean flag)"
Java "public void glDepthMask(boolean flag)"
Use the Java 'boolean', not the GL integer GLboolean GL_TRUE, that's all.
~Sven