diff options
author | Ian Romanick <[email protected]> | 2004-05-11 16:17:49 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-05-11 16:17:49 +0000 |
commit | 366a27d2b99ef9e15623d139e74b596161ddb4de (patch) | |
tree | 162ae2ffbce04824c7c2c39f3f74538e98ed201d | |
parent | 4e0d575c64536bef8d3221ba5b9bd2410a8d330b (diff) |
Fix a possible segfault caused by the SGI_make_current_read changes.
-rw-r--r-- | src/mesa/drivers/dri/i830/i830_context.c | 1 |
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; |