summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2006-04-01 00:55:02 +0000
committerEric Anholt <[email protected]>2006-04-01 00:55:02 +0000
commit9e8659f346d432b6e51a47e749995bb93ec40a1c (patch)
tree6f378315b8260013b661732fcc376670dc008071 /src
parente3f41ce611afdd5afef5d0cfa579dbb6890f71fa (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')
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c2
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 7dbc2c8739b..067f5da49e2 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 );