diff options
author | Keith Whitwell <[email protected]> | 2006-06-15 12:47:29 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-06-15 12:47:29 +0000 |
commit | 0b994ef5893c0fb59b36f2a723f74aa7c35e8502 (patch) | |
tree | 45efd64eb92db22391b201f5d1d763f19889427b /src/mesa | |
parent | d048b7d36e502a3013b19be894d0db6c68414955 (diff) |
Call _mesa_resize_framebuffer() within intelWindowMoved(). Fixes
googleearth glitches.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 6 |
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: */ { |