From 88f3b89a2cb77766d2009b9868c44e03abe2dbb2 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 28 Dec 2000 22:11:04 +0000 Subject: Add render stage for unclipped vb's to fx driver. Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally) --- src/mesa/tnl/t_vb_render.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_vb_render.c') diff --git a/src/mesa/tnl/t_vb_render.c b/src/mesa/tnl/t_vb_render.c index 1311d5721f..1d0a1aaf15 100644 --- a/src/mesa/tnl/t_vb_render.c +++ b/src/mesa/tnl/t_vb_render.c @@ -1,4 +1,4 @@ -/* $Id: t_vb_render.c,v 1.3 2000/12/27 21:49:40 keithw Exp $ */ +/* $Id: t_vb_render.c,v 1.4 2000/12/28 22:11:06 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -520,6 +520,8 @@ static GLboolean run_render( GLcontext *ctx, render_func *tab; GLint pass = 0; +/* return GL_FALSE; */ + VB->interpfunc = (void *)RENDER_STAGE_DATA(stage)->interp; if (new_inputs) { @@ -615,7 +617,7 @@ static void check_render( GLcontext *ctx, struct gl_pipeline_stage *stage ) } } } - else if (ctx->Light.ShadeModel==GL_SMOOTH) + else { interp |= INTERP_INDEX; inputs |= VERT_INDEX; -- cgit v1.2.3