Ticket #3246 (closed defect: fixed)
ARB_fragment_program extension broken -> Fixed in SVN.
|Reported by:||res||Owned by:|
ARB_fragment_program support is incomplete.
The following code leaves numTexCoords unitialized:
glGetIntegerv (GL_MAX_TEXTURE_COORDS_ARB, &numTexCoords);
The code is protected with a check whether the ARB_fragment_program extension is supported. The GL_MAX_TEXTURE_COORDS_ARB token is introduced in the ARB_fragment_program spec and thus should work when the extension is advertised.