Using GL_UNSIGNED_INT_2_10_10_10_REV with glNormalPointer
Luke Benstead <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CADwP-MRpHPFt+KNBqGY_dJ_QB0z=JQpRVzngTEBERM4-=sopCw@mail.gmail.com> |
Hi!
I'm trying to use this combination, the ARB_vertex_type_2_10_10_10_rev
extension says it should work:
New Tokens
Accepted by the <type> parameter of VertexAttribPointer, VertexPointer,
NormalPointer, ColorPointer, SecondaryColorPointer, TexCoordPointer,
VertexAttribP{1234}ui, VertexP*, TexCoordP*, MultiTexCoordP*, NormalP3ui,
ColorP*, SecondaryColorP* and VertexAttribP*
UNSIGNED_INT_2_10_10_10_REV 0x8368
(existing core enum)
INT_2_10_10_10_REV 0x8D9F
But when I try I get a GL_INVALID_OPERATION:
Mesa: User error: GL_INVALID_OPERATION in glNormalPointer(size=3)
Am I doing something wrong? This is using OpenGL < 3.
_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users