CyanPrime
CyanPrime

Reputation: 5193

'glGetTexLevelParameter' was not declared in this scope

Alright, so before anyone asks, yes I do have <gl/gl.h> included. Anyone have any idea why this one function, glGetTexLevelParameter, isn't showing up?

Upvotes: 0

Views: 200

Answers (1)

kqnr
kqnr

Reputation: 3596

Because that's only the base name of the function. You need either the integer array or float array form, as in glGetTexLevelParameteriv or glGetTexLevelParameterfv.

See this link for details.

Upvotes: 5

Related Questions