aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_context.c')
-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 bab6326ebaf..bef6f7f3bbc 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
}