summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2006-06-15 12:47:29 +0000
committerKeith Whitwell <[email protected]>2006-06-15 12:47:29 +0000
commit0b994ef5893c0fb59b36f2a723f74aa7c35e8502 (patch)
tree45efd64eb92db22391b201f5d1d763f19889427b /src/mesa/drivers
parentd048b7d36e502a3013b19be894d0db6c68414955 (diff)
Call _mesa_resize_framebuffer() within intelWindowMoved(). Fixes
googleearth glitches.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c
index abd7f61eb3f..54b0960c565 100644
--- a/src/mesa/drivers/dri/i915/intel_context.c
+++ b/src/mesa/drivers/dri/i915/intel_context.c
@@ -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:
*/
{