summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2001-04-09 10:16:01 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2001-04-09 10:16:01 +0000
commitc818d6cce55098f48e953f1b7c96bdf188006bb6 (patch)
tree05d2d2beb9ba32cce1f3cdba82359ccdd41ca451 /src/mesa/drivers/common
parent30c75badd18253c75cc1980b5171ca0f54b1a268 (diff)
fix use of projected vertices with notex vertices when DO_PTEX isn't set.
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r--src/mesa/drivers/common/t_dd_vbtmp.h10
1 files 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 eb9b403f55..d6425f0b96 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) {