summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-01-08 21:55:59 +0000
committerKeith Whitwell <[email protected]>2001-01-08 21:55:59 +0000
commitce656b6a0a103ae9cb41d509be353f0e661e3574 (patch)
tree1f877f14838b85d7db834cb38a040a362db83d6e /src/mesa/drivers
parentbfa023921c9d1aa872237e0ac6085160f7c2cbc5 (diff)
Fixed 'IRound' to 'IROUND' in mmath.h
Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/glide/fxtris.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/drivers/glide/fxtris.c b/src/mesa/drivers/glide/fxtris.c
index b2864dbb8e1..d15ebf8bc10 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"