vertexAttribPointer undefined?

Conal Elliott <[email protected]> Tue, 14 Jul 2009 14:10:35 -0700
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
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

_______________________________________________
HOpenGL mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hopengl