From 8f1051dca2d2ea4a4d38f251a5f98fc2a9d097c9 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Thu, 16 Sep 2010 17:16:19 +0200 Subject: [PATCH] dri/nv04: Fix provoking vertex. --- src/mesa/drivers/dri/nouveau/nv04_render.c | 4 ++-- 1 file 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. */ -- 2.30.2