From 366a27d2b99ef9e15623d139e74b596161ddb4de Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 11 May 2004 16:17:49 +0000 Subject: Fix a possible segfault caused by the SGI_make_current_read changes. --- src/mesa/drivers/dri/i830/i830_context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers') 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; -- cgit v1.2.3