I found this code in Graphics.Rendering.OpenGL.GL.VertexArrays in the OpenGL package, version 2.2.3.0:
vertexAttribPointer :: AttribLocation -> StateVar (IntegerHandling, VertexArrayDescriptor a)
vertexAttribPointer location = undefined
makeStateVar (getVertexAttribPointer_ location) (setVertexAttribPointer location)
Is that "undefined" intentional? When I remove "undefined", it works fine.
- Conal