Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp,
authorEric Anholt <anholt@FreeBSD.org>
Sat, 1 Apr 2006 00:55:02 +0000 (00:55 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Sat, 1 Apr 2006 00:55:02 +0000 (00:55 +0000)
like other drivers.  Failure to do so resulted in incorrect buffer sizes for
resized windows.

src/mesa/drivers/dri/i915/intel_context.c

index 7dbc2c8739b85d5d01544d93a65b7e5f1eb469ba..067f5da49e24f49ba19cd13505d1e212f43b6d48 100644 (file)
@@ -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 );