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)
This commit is contained in:
Keith Whitwell
2000-12-28 22:11:04 +00:00
parent e5d6fb20a5
commit 88f3b89a2c
17 changed files with 197 additions and 62 deletions

View File

@@ -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;