From 9e8659f346d432b6e51a47e749995bb93ec40a1c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 1 Apr 2006 00:55:02 +0000 Subject: Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp, like other drivers. Failure to do so resulted in incorrect buffer sizes for resized windows. --- src/mesa/drivers/dri/i915/intel_context.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 7dbc2c8739..067f5da49e 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -555,6 +555,8 @@ void intelWindowMoved( intelContextPtr intel ) intelSetFrontClipRects( intel ); } else { + driUpdateFramebufferSize(&intel->ctx, intel->driDrawable); + switch (intel->ctx.DrawBuffer->_ColorDrawBufferMask[0]) { case BUFFER_BIT_FRONT_LEFT: intelSetFrontClipRects( intel ); -- cgit v1.2.3