summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2010-09-16 17:16:19 +0200
committerFrancisco Jerez <[email protected]>2010-09-16 19:44:21 +0200
commit8f1051dca2d2ea4a4d38f251a5f98fc2a9d097c9 (patch)
treeddf264726f813f1903c2d73dc042ab57807915b7 /src/mesa
parent286d8f2877f75d9ad82c55d1fa494f46a4a8f422 (diff)
dri/nv04: Fix provoking vertex.
Diffstat (limited to 'src/mesa')
-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 b5943d99871..56e396d51f2 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. */