From ce656b6a0a103ae9cb41d509be353f0e661e3574 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 8 Jan 2001 21:55:59 +0000 Subject: Fixed 'IRound' to 'IROUND' in mmath.h Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code. --- src/mesa/drivers/glide/fxtris.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/glide/fxtris.c b/src/mesa/drivers/glide/fxtris.c index b2864dbb8e..d15ebf8bc1 100644 --- a/src/mesa/drivers/glide/fxtris.c +++ b/src/mesa/drivers/glide/fxtris.c @@ -480,8 +480,10 @@ fx_null_tri( GLcontext *ctx, grDrawTriangle( &v[i2].v, &v[i1].v, &v[i].v ) #define TAG(x) fx_##x##_verts -#define LOCAL_VARS \ - fxVertex *v = FX_CONTEXT(ctx)->verts; +#define LOCAL_VARS \ + fxVertex *v = FX_CONTEXT(ctx)->verts; \ + const GLuint * const elt = TNL_CONTEXT(ctx)->vb.Elts; \ + (void) elt; /* Verts, no clipping. */ @@ -496,12 +498,8 @@ fx_null_tri( GLcontext *ctx, */ #undef ELT #undef TAG -#undef LOCAL_VARS #define TAG(x) fx_##x##_elts #define ELT(x) elt[x] -#define LOCAL_VARS \ - fxVertex *v = FX_CONTEXT(ctx)->verts; \ - const GLuint * const elt = TNL_CONTEXT(ctx)->vb.Elts; #include "tnl/t_vb_rendertmp.h" -- cgit v1.2.3