diff options
author | Keith Whitwell <[email protected]> | 2005-12-30 13:02:27 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-12-30 13:02:27 +0000 |
commit | 1d43e729ec94217f3b742be481c753a8eaa65ea3 (patch) | |
tree | bdebab4b9cac88ad3fa25ea72520f6ad1c4b6581 /src/mesa/main/context.c | |
parent | 8c137e2f94a5710e59676598fb2c3f00565834e1 (diff) |
properly notify driver on scissor change in MakeCurrent
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index a50632615d0..4101c9f1ed2 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 ); } } |