diff options
author | Keith Whitwell <[email protected]> | 2001-07-28 19:28:49 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-07-28 19:28:49 +0000 |
commit | 46af1f87c897ef03470d205e9fd147e93911cbce (patch) | |
tree | ed9efc16aa63fdf47e886f2c9083f3d0f38f8ad8 /src/mesa/swrast/s_context.c | |
parent | 616f470629487f303979c7e878062d66658ac812 (diff) |
Remove _BaseAlpha, fix reflect lighting bug.
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r-- | src/mesa/swrast/s_context.c | 9 |
1 files changed, 5 insertions, 4 deletions
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", |