From c818d6cce55098f48e953f1b7c96bdf188006bb6 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Mon, 9 Apr 2001 10:16:01 +0000 Subject: [PATCH] fix use of projected vertices with notex vertices when DO_PTEX isn't set. --- src/mesa/drivers/common/t_dd_vbtmp.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/common/t_dd_vbtmp.h b/src/mesa/drivers/common/t_dd_vbtmp.h index eb9b403f55a..d6425f0b962 100644 --- a/src/mesa/drivers/common/t_dd_vbtmp.h +++ b/src/mesa/drivers/common/t_dd_vbtmp.h @@ -1,4 +1,4 @@ -/* $Id: t_dd_vbtmp.h,v 1.9 2001/03/17 17:31:42 keithw Exp $ */ +/* $Id: t_dd_vbtmp.h,v 1.10 2001/04/09 10:16:01 alanh Exp $ */ /* * Mesa 3-D graphics library @@ -341,9 +341,9 @@ static void TAG(emit)( GLcontext *ctx, v->v.specular.alpha = fog[i] * 255.0; } if (DO_TEX0) { + v->v.u0 = tc0[i][0]; + v->v.v0 = tc0[i][1]; if (DO_PTEX) { - v->pv.u0 = tc0[i][0]; - v->pv.v0 = tc0[i][1]; if (HAVE_PTEX_VERTICES) { if (tc0_size == 4) v->pv.q0 = tc0[i][3]; @@ -359,10 +359,6 @@ static void TAG(emit)( GLcontext *ctx, v->v.v0 *= rhw; } } - else { - v->v.u0 = tc0[i][0]; - v->v.v0 = tc0[i][1]; - } } if (DO_TEX1) { if (DO_PTEX) { -- 2.30.2