Original Post
Hello,
querying the depth bits setting in OpenGL 3.3 context gives strange results.
depthbits is still 0 after querying the depth bit state.
Is this enum deprecated ? I checke gl error and it returns 1280 - Invalid enum.
But it is defined in gl.h as well as in glew.h. Both have the same values defined
for this define. So I tried the same query with GL_DEPTH_FUNC and this returned
a value. I either cant query GL_RED_BITS, GL_BLUE_BITS etc.
Is GL_DEPTH_BITS a deprecated value ?
regards,
c-mos
querying the depth bits setting in OpenGL 3.3 context gives strange results.
GLint depthbits = 0;glGetIntegerv(GL_DEPTH_BITS, &depthbits);depthbits is still 0 after querying the depth bit state.
Is this enum deprecated ? I checke gl error and it returns 1280 - Invalid enum.
But it is defined in gl.h as well as in glew.h. Both have the same values defined
for this define. So I tried the same query with GL_DEPTH_FUNC and this returned
a value. I either cant query GL_RED_BITS, GL_BLUE_BITS etc.
Is GL_DEPTH_BITS a deprecated value ?
regards,
c-mos