nesister

glGetIntegerv fails with valid enum values.

Discussion created by nesister on Oct 16, 2010
Latest reply on Oct 18, 2010 by frali

Hi,

with latest amd drivers installed (catalyst 10.9) glGetIntegerv fails with the following enum values :

  • GL_FRAGMENT_SHADER_DERIVATIVE_HINT
  • GL_MAX_VERTEX_OUTPUT_COMPONENTS
  • GL_MAX_FRAGMENT_INPUT_COMPONENTS
  • GL_MAX_GEOMETRY_OUTPUT_COMPONENTS
  • GL_MAX_GEOMETRY_INPUT_COMPONENTS

Using those values in glGetIntegerv generate a GL_INVALID_ENUM error in an OpenGL 4.0 compatibility profile context. Edit: Result is the same on windows and linux.

I have a simple test case I can provide if you want.

Outcomes