glNormalPointer is typically implemented on the client side.
Since the normal array parameters are client-side state, they are not saved or restored
by glPushAttrib and glPopAttrib. Use glPushClientAttrib and glPopClientAttrib instead.
Errors
•
•
Associated Gets
glIsEnabled with argument GL_NORMAL_ARRAY
glGet with argument GL_NORMAL_ARRAY_TYPE
glGet with argument GL_NORMAL_ARRAY_STRIDE
glGetPointerv with argument GL_NORMAL_ARRAY_POINTER
See Also
glArrayElement,
glColorPointer,
glDrawArrays,
glDrawElements,
glEdgeFlagPointer,
glEnable,
glGetPointerv,
glIndexPointer,
glInterleavedArrays,
glPopClientAttrib,
glPushClientAttrib,
glTexCoordPointer,
glVertexPointer
Chapter 12
GL_INVALID_ENUM is generated if type is not an accepted value.
GL_INVALID_VALUE is generated if stride is negative.
N
glNormalPointer
303