summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index bab6326eba..bef6f7f3bb 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -196,6 +196,6 @@ _tnl_MakeCurrent( GLcontext *ctx,
GLframebuffer *readBuffer )
{
#ifndef THREADS
- SET_IMMEDIATE(newCtx, newCtx->input);
+ SET_IMMEDIATE( ctx, TNL_VB(ctx)->IM );
#endif
}