summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-12-30 13:02:27 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-12-30 13:02:27 +0000
commit1d43e729ec94217f3b742be481c753a8eaa65ea3 (patch)
treebdebab4b9cac88ad3fa25ea72520f6ad1c4b6581 /src/mesa/main/context.c
parent8c137e2f94a5710e59676598fb2c3f00565834e1 (diff)
properly notify driver on scissor change in MakeCurrent
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index a50632615d..4101c9f1ed 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1611,8 +1611,10 @@ _mesa_make_current( GLcontext *newCtx, GLframebuffer *drawBuffer,
/* set initial viewport and scissor size now */
_mesa_set_viewport(newCtx, 0, 0,
drawBuffer->Width, drawBuffer->Height);
- newCtx->Scissor.Width = drawBuffer->Width;
- newCtx->Scissor.Height = drawBuffer->Height;
+
+ _mesa_set_scissor(newCtx, 0, 0,
+ drawBuffer->Width,
+ drawBuffer->Height );
}
}