summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i830/i830_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_context.c b/src/mesa/drivers/dri/i830/i830_context.c
index 07a5267c29f..b0236a5d618 100644
--- a/src/mesa/drivers/dri/i830/i830_context.c
+++ b/src/mesa/drivers/dri/i830/i830_context.c
@@ -508,6 +508,7 @@ GLboolean i830MakeCurrent(__DRIcontextPrivate *driContextPriv,
if ( imesa->driDrawable != driDrawPriv ) {
imesa->driDrawable = driDrawPriv;
i830XMesaWindowMoved( imesa );
+ imesa->mesa_drawable = driDrawPriv;
}
imesa->driReadable = driReadPriv;