
14 Jul
2009
14 Jul
'09
9:10 p.m.
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