diff options
author | Brian Paul <[email protected]> | 2005-11-16 01:58:19 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-11-16 01:58:19 +0000 |
commit | 738f501f731d9b03a1ff130381ea087c05a7ad40 (patch) | |
tree | 2ed1a5fb6251818d2e48fb824a63048340e4d3ec /src/mesa/tnl/t_array_api.c | |
parent | 62620d349bd30fda460f32d3c6ccfa2a093eac90 (diff) |
Replace GL_POLYGON+1 with PRIM_OUTSIDE_BEGIN_END
Diffstat (limited to 'src/mesa/tnl/t_array_api.c')
-rw-r--r-- | src/mesa/tnl/t_array_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c index 1ad77c5a99b..8ceca29c254 100644 --- a/src/mesa/tnl/t_array_api.c +++ b/src/mesa/tnl/t_array_api.c @@ -51,7 +51,7 @@ static void fallback_drawarrays( GLcontext *ctx, GLenum mode, GLint start, GLint i; assert(!ctx->CompileFlag); - assert(ctx->Driver.CurrentExecPrimitive == GL_POLYGON+1); + assert(ctx->Driver.CurrentExecPrimitive == PRIM_OUTSIDE_BEGIN_END); CALL_Begin(GET_DISPATCH(), (mode)); for (i = 0; i < count; i++) @@ -66,7 +66,7 @@ static void fallback_drawelements( GLcontext *ctx, GLenum mode, GLsizei count, GLint i; assert(!ctx->CompileFlag); - assert(ctx->Driver.CurrentExecPrimitive == GL_POLYGON+1); + assert(ctx->Driver.CurrentExecPrimitive == PRIM_OUTSIDE_BEGIN_END); /* Here, indices will already reflect the buffer object if active */ |