summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_array_api.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2004-05-27 00:03:53 +0000
committerIan Romanick <[email protected]>2004-05-27 00:03:53 +0000
commitc1d455f5827e7044dcb316dadc755a6f91299906 (patch)
treeb2963dd582acd88e45226e618d386eb8712ce997 /src/mesa/tnl/t_array_api.c
parent77bbbb3759c83e66f0391651597c400fea2d95e4 (diff)
Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.
Diffstat (limited to 'src/mesa/tnl/t_array_api.c')
-rw-r--r--src/mesa/tnl/t_array_api.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c
index 8375c1711fe..cc709d3641d 100644
--- a/src/mesa/tnl/t_array_api.c
+++ b/src/mesa/tnl/t_array_api.c
@@ -52,10 +52,10 @@ static void fallback_drawarrays( GLcontext *ctx, GLenum mode, GLint start,
assert(!ctx->CompileFlag);
assert(ctx->Driver.CurrentExecPrimitive == GL_POLYGON+1);
- _glapi_Dispatch->Begin(mode);
+ GL_CALL(Begin)(mode);
for (i = 0; i < count; i++)
- _glapi_Dispatch->ArrayElement( start + i );
- _glapi_Dispatch->End();
+ GL_CALL(ArrayElement)( start + i );
+ GL_CALL(End)();
}
@@ -69,11 +69,11 @@ static void fallback_drawelements( GLcontext *ctx, GLenum mode, GLsizei count,
/* Here, indices will already reflect the buffer object if active */
- _glapi_Dispatch->Begin(mode);
+ GL_CALL(Begin)(mode);
for (i = 0 ; i < count ; i++) {
- _glapi_Dispatch->ArrayElement( indices[i] );
+ GL_CALL(ArrayElement)( indices[i] );
}
- _glapi_Dispatch->End();
+ GL_CALL(End)();
}