From 53560311294814ae0daa8457307a2b25077bf4e9 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 17 Jul 2001 19:39:32 +0000 Subject: Lighting now emits colors as CHAN_TYPE, as it used to. This will require minor adjustments in the dri drivers for twosided lighting to work again. --- src/mesa/swrast/s_context.c | 6 ++---- 1 file changed, 2 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 200db7cd2d..76be114f0a 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.23 2001/07/13 20:07:37 brianp Exp $ */ +/* $Id: s_context.c,v 1.24 2001/07/17 19:39:32 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -529,7 +529,7 @@ _swrast_GetDeviceDriverReference( GLcontext *ctx ) return &swrast->Driver; } -#define SWRAST_DEBUG_VERTICES 1 +#define SWRAST_DEBUG_VERTICES 0 void _swrast_print_vertex( GLcontext *ctx, const SWvertex *v ) @@ -540,8 +540,6 @@ _swrast_print_vertex( GLcontext *ctx, const SWvertex *v ) fprintf(stderr, "win %f %f %f %f\n", v->win[0], v->win[1], v->win[2], v->win[3]); - return; - 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], -- cgit v1.2.3