summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/unichrome/via_context.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.c b/src/mesa/drivers/dri/unichrome/via_context.c
index ca106f0ad51..15b57b95b71 100644
--- a/src/mesa/drivers/dri/unichrome/via_context.c
+++ b/src/mesa/drivers/dri/unichrome/via_context.c
@@ -972,6 +972,11 @@ void viaGetLock(viaContextPtr vmesa, GLuint flags)
if (sarea->ctxOwner != me) {
vmesa->uploadCliprects = GL_TRUE;
sarea->ctxOwner = me;
+ vmesa->dirty |= (VIA_UPLOAD_CTX |
+ VIA_UPLOAD_BUFFERS |
+ VIA_UPLOAD_TEX0 |
+ VIA_UPLOAD_TEX1 |
+ VIA_UPLOAD_CLIPRECTS);
}
viaXMesaWindowMoved(vmesa);