summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i830
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-05-11 16:17:49 +0000
committerIan Romanick <idr@us.ibm.com>2004-05-11 16:17:49 +0000
commit366a27d2b99ef9e15623d139e74b596161ddb4de (patch)
tree162ae2ffbce04824c7c2c39f3f74538e98ed201d /src/mesa/drivers/dri/i830
parent4e0d575c64536bef8d3221ba5b9bd2410a8d330b (diff)
Fix a possible segfault caused by the SGI_make_current_read changes.
Diffstat (limited to 'src/mesa/drivers/dri/i830')
-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 07a5267c29..b0236a5d61 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;