Re: Using GL_UNSIGNED_INT_2_10_10_10_REV with glNormalPointer

Brian Paul <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
On 11/15/2019 10:39 AM, Luke Benstead wrote:
> 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.

Sounds like a bit.  Can you file a bug report?

-Brian


_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.