From: Eric Anholt Date: Sat, 1 Apr 2006 00:55:02 +0000 (+0000) Subject: Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e8659f346d432b6e51a47e749995bb93ec40a1c;p=mesa.git 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. --- diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 7dbc2c8739b..067f5da49e2 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 );