user1939871
user1939871

Reputation:

glGetObjectParameteriv not in GLEW

In GLEW, it's only allowing me to use glGetObjectParameterivARB and not glGetObjectParameteriv. Why isn't glGetObjectParameteriv available in GLEW?

Upvotes: 2

Views: 1250

Answers (1)

Dr. Snoopy
Dr. Snoopy

Reputation: 56347

Because that function doesn't exist, is part of the old ARB extensions for shader, but when GLSL moved to Core OpenGL, the API was changed a bit and this function was split into several others. You might want to look at:

  • glGetShader
  • glGetProgram
  • glGetShaderInfoLog
  • glGetProgramInfoLog

Upvotes: 4

Related Questions