aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/radeon_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/r300/radeon_lock.c')
-rw-r--r--src/mesa/drivers/dri/r300/radeon_lock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_lock.c b/src/mesa/drivers/dri/r300/radeon_lock.c
index 2af38909bc2..2209d890033 100644
--- a/src/mesa/drivers/dri/r300/radeon_lock.c
+++ b/src/mesa/drivers/dri/r300/radeon_lock.c
@@ -125,7 +125,12 @@ static void r300RegainedLock(radeonContextPtr radeon)
else
radeonSetCliprects(radeon, GL_FRONT_LEFT);
+#if 1
+ r300UpdateViewportOffset( radeon->glCtx );
+ driUpdateFramebufferSize(radeon->glCtx, dPriv);
+#else
radeonUpdateScissor(radeon->glCtx);
+#endif
radeon->lastStamp = dPriv->lastStamp;
}