summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c
index 8df60edfb71..2a8ccccaa51 100644
--- a/src/mesa/drivers/dri/i915/intel_context.c
+++ b/src/mesa/drivers/dri/i915/intel_context.c
@@ -543,7 +543,7 @@ void intelWindowMoved( intelContextPtr intel )
intelSetFrontClipRects( intel );
}
else {
- driUpdateFramebufferSize(&intel->ctx, intel->driDrawable);
+ driUpdateFramebufferSize(&intel->ctx, dPriv);
switch (intel->ctx.DrawBuffer->_ColorDrawBufferMask[0]) {
case BUFFER_BIT_FRONT_LEFT: