summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_array_api.c
diff options
context:
space:
mode:
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 8375c1711f..cc709d3641 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)();
}