diff options
author | Keith Whitwell <[email protected]> | 2000-12-28 22:11:04 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2000-12-28 22:11:04 +0000 |
commit | 88f3b89a2cb77766d2009b9868c44e03abe2dbb2 (patch) | |
tree | c382e12f28f661a17974ea79b394fbabf101d89e /src/mesa/tnl/t_vb_render.c | |
parent | e5d6fb20a5c2519ac216a9fa247b5922e76528c1 (diff) |
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)
Diffstat (limited to 'src/mesa/tnl/t_vb_render.c')
-rw-r--r-- | src/mesa/tnl/t_vb_render.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_render.c b/src/mesa/tnl/t_vb_render.c index 1311d5721fc..1d0a1aaf152 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; |