summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_imm_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_imm_api.c')
-rw-r--r--src/mesa/tnl/t_imm_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_imm_api.c b/src/mesa/tnl/t_imm_api.c
index 0449504300..c0dcb1863c 100644
--- a/src/mesa/tnl/t_imm_api.c
+++ b/src/mesa/tnl/t_imm_api.c
@@ -334,7 +334,7 @@ _tnl_hard_begin( GLcontext *ctx, GLenum p )
* rects/arrays together in a single immediate struct.
*/
void
-_tnl_end( GLcontext *ctx )
+_tnl_end_ctx( GLcontext *ctx )
{
struct immediate *IM = TNL_CURRENT_IM(ctx);
GLuint state = IM->BeginState;
@@ -387,7 +387,7 @@ _tnl_End(void)
{
GET_CURRENT_CONTEXT(ctx);
- _tnl_end( ctx );
+ _tnl_end_ctx( ctx );
/* Need to keep save primitive uptodate in COMPILE and
* COMPILE_AND_EXEC modes, need to keep exec primitive uptodate