From 46af1f87c897ef03470d205e9fd147e93911cbce Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sat, 28 Jul 2001 19:28:49 +0000 Subject: Remove _BaseAlpha, fix reflect lighting bug. --- src/mesa/swrast/s_context.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/mesa/swrast/s_context.c') diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 76be114f0ac..4191dee2cf6 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -1,4 +1,4 @@ -/* $Id: s_context.c,v 1.24 2001/07/17 19:39:32 keithw Exp $ */ +/* $Id: s_context.c,v 1.25 2001/07/28 19:28:49 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -541,9 +541,10 @@ _swrast_print_vertex( GLcontext *ctx, const SWvertex *v ) v->win[0], v->win[1], v->win[2], v->win[3]); for (i = 0 ; i < ctx->Const.MaxTextureUnits ; i++) - fprintf(stderr, "texcoord[%d] %f %f %f %f\n", i, - v->texcoord[i][0], v->texcoord[i][1], - v->texcoord[i][2], v->texcoord[i][3]); + if (ctx->Texture.Unit[i]._ReallyEnabled) + fprintf(stderr, "texcoord[%d] %f %f %f %f\n", i, + v->texcoord[i][0], v->texcoord[i][1], + v->texcoord[i][2], v->texcoord[i][3]); #if CHAN_TYPE == GL_FLOAT fprintf(stderr, "color %f %f %f %f\n", -- cgit v1.2.3