From 1d43e729ec94217f3b742be481c753a8eaa65ea3 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 30 Dec 2005 13:02:27 +0000 Subject: properly notify driver on scissor change in MakeCurrent --- src/mesa/main/context.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/context.c') 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 ); } } -- cgit v1.2.3