dri/nv04: Fix provoking vertex.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 16 Sep 2010 15:16:19 +0000 (17:16 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 16 Sep 2010 17:44:21 +0000 (19:44 +0200)
src/mesa/drivers/dri/nouveau/nv04_render.c

index b5943d998711e6c10147e3e026fc741588e014a7..56e396d51f2f5c59ee62735d1f9781a0103bcd32 100644 (file)
@@ -162,7 +162,7 @@ swtnl_triangle(GLcontext *ctx, GLuint v1, GLuint v2, GLuint v3)
        OUT_VERTEX(v1);
        OUT_VERTEX(v2);
        OUT_VERTEX(v3);
-       END_PRIMITIVE(0x210);
+       END_PRIMITIVE(0x102);
 }
 
 static void
@@ -173,7 +173,7 @@ swtnl_quad(GLcontext *ctx, GLuint v1, GLuint v2, GLuint v3, GLuint v4)
        OUT_VERTEX(v2);
        OUT_VERTEX(v3);
        OUT_VERTEX(v4);
-       END_PRIMITIVE(0x320210);
+       END_PRIMITIVE(0x213103);
 }
 
 /* TnL initialization. */