diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2001-03-05 18:52:18 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2001-03-05 18:52:18 +0000 |
commit | 0ceb82b83843735437a994337d6f743f0460d7cb (patch) | |
tree | 050d2dd6aff524341ad9bcf54703bc30ee9cf344 /src/mesa/drivers/common/t_dd_dmatmp.h | |
parent | 3db5374e66c902667d260e8ebf31fe419922924e (diff) |
Changes for ffb
Diffstat (limited to 'src/mesa/drivers/common/t_dd_dmatmp.h')
-rw-r--r-- | src/mesa/drivers/common/t_dd_dmatmp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/t_dd_dmatmp.h b/src/mesa/drivers/common/t_dd_dmatmp.h index 1b4e89bdb1..f2a08c0284 100644 --- a/src/mesa/drivers/common/t_dd_dmatmp.h +++ b/src/mesa/drivers/common/t_dd_dmatmp.h @@ -44,6 +44,7 @@ #endif #if !HAVE_ELTS +#define ELTS_VARS #define ALLOC_ELTS( nr ) #define EMIT_ELT( offset, elt ) #define INCR_ELTS( nr ) @@ -392,7 +393,7 @@ static void TAG(render_quad_strip_verts)( GLcontext *ctx, if (HAVE_QUAD_STRIPS && 0) { /* TODO. */ - } else if (ctx->_TriangleCaps & DD_FLATSHADE) { + } else if (HAVE_TRI_STRIPS && ctx->_TriangleCaps & DD_FLATSHADE) { if (TAG(emit_elt_verts)( ctx, start, count )) { LOCAL_VARS; int dmasz = GET_SUBSEQUENT_VB_MAX_ELTS(); @@ -881,7 +882,8 @@ static void TAG(render_quad_strip_elts)( GLcontext *ctx, GLuint flags ) { if (HAVE_QUAD_STRIPS && 0) { - } else { + } + else if (HAVE_TRI_STRIPS) { LOCAL_VARS; GLuint *elts = TNL_CONTEXT(ctx)->vb.Elts; int dmasz = GET_SUBSEQUENT_VB_MAX_ELTS(); |