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 abd7f61eb3f3a18f488aea0a58c9195f70ca8731..54b0960c565d3354fa27bea083bf434ea2b7ca71 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:
     */
    {