From: Francisco Jerez Date: Thu, 16 Sep 2010 15:16:19 +0000 (+0200) Subject: dri/nv04: Fix provoking vertex. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f1051dca2d2ea4a4d38f251a5f98fc2a9d097c9;p=mesa.git dri/nv04: Fix provoking vertex. --- 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. */