[HOpenGL] Re: vertexAttribPointer problem
Ben Christy
ben.christy at gmail.com
Tue Nov 16 11:30:53 EST 2010
Resolved this by using glAttribLocation from the Raw package.
On Mon, Nov 15, 2010 at 3:38 PM, Ben Christy <ben.christy at gmail.com> wrote:
> using vertexAttribPointer results in error "user error (unknown OpenGL
> extension entry glVertexAttribIPointer, check for OpenGL 3.1)"
>
> the exact code was:
> vertexAttribPointer (AttribLocation 1) $= (KeepIntegral,
> (VertexArrayDescriptor 3 Float ((4) *10) (plusPtr nullPtr (0*4))))
>
> according to
> version ← get (majorMinor glVersion)
> The version is 2.0
> The OpenGl Spec states that vertexAttribPointer was added in version 2.0 so
> I am not certain of the problem any thoughts?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/hopengl/attachments/20101116/49c3438f/attachment.html
More information about the HOpenGL
mailing list