Call _mesa_resize_framebuffer() within intelWindowMoved(). Fixes
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 15 Jun 2006 12:47:29 +0000 (12:47 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 15 Jun 2006 12:47:29 +0000 (12:47 +0000)
googleearth glitches.

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

index abd7f61..54b0960 100644 (file)
@@ -552,6 +552,8 @@ void intelSetBackClipRects( intelContextPtr intel )
 
 void intelWindowMoved( intelContextPtr intel )
 {
+   __DRIdrawablePrivate *dPriv = intel->driDrawable;
+
    if (!intel->ctx.DrawBuffer) {
       intelSetFrontClipRects( intel );
    }
@@ -571,6 +573,10 @@ void intelWindowMoved( intelContextPtr intel )
       }
    }
 
+   _mesa_resize_framebuffer(&intel->ctx,
+                           (GLframebuffer*)dPriv->driverPrivate,
+                           dPriv->w, dPriv->h);
+   
    /* Set state we know depends on drawable parameters:
     */
    {