summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-09-16 17:16:19 +0200
committerFrancisco Jerez <currojerez@riseup.net>2010-09-16 19:44:21 +0200
commit8f1051dca2d2ea4a4d38f251a5f98fc2a9d097c9 (patch)
treeddf264726f813f1903c2d73dc042ab57807915b7
parent286d8f2877f75d9ad82c55d1fa494f46a4a8f422 (diff)
dri/nv04: Fix provoking vertex.
-rw-r--r--src/mesa/drivers/dri/nouveau/nv04_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv04_render.c b/src/mesa/drivers/dri/nouveau/nv04_render.c
index b5943d9987..56e396d51f 100644
--- a/src/mesa/drivers/dri/nouveau/nv04_render.c
+++ b/src/mesa/drivers/dri/nouveau/nv04_render.c
@@ -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. */