[HOpenGL] vertexAttribPointer undefined?

Conal Elliott conal at conal.net
Tue Jul 14 17:10:35 EDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/hopengl/attachments/20090714/d42a3e6d/attachment.html


More information about the HOpenGL mailing list