diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-04-01 00:55:02 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-04-01 00:55:02 +0000 |
commit | 9e8659f346d432b6e51a47e749995bb93ec40a1c (patch) | |
tree | 6f378315b8260013b661732fcc376670dc008071 /src/mesa/drivers/dri/i915/intel_context.c | |
parent | e3f41ce611afdd5afef5d0cfa579dbb6890f71fa (diff) |
Call driUpdateFramebufferSize when we've found an updated DRI drawable stamp,
like other drivers. Failure to do so resulted in incorrect buffer sizes for
resized windows.
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index 7dbc2c8739..067f5da49e 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -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 ); |