diff options
Diffstat (limited to 'src/mesa/drivers/dri/i830/i830_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i830/i830_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_context.c b/src/mesa/drivers/dri/i830/i830_context.c index 1c169e1d33..07a5267c29 100644 --- a/src/mesa/drivers/dri/i830/i830_context.c +++ b/src/mesa/drivers/dri/i830/i830_context.c @@ -506,11 +506,12 @@ GLboolean i830MakeCurrent(__DRIcontextPrivate *driContextPriv, i830ContextPtr imesa = (i830ContextPtr) driContextPriv->driverPrivate; if ( imesa->driDrawable != driDrawPriv ) { - /* Shouldn't the readbuffer be stored also? */ imesa->driDrawable = driDrawPriv; i830XMesaWindowMoved( imesa ); } + imesa->driReadable = driReadPriv; + _mesa_make_current2(imesa->glCtx, (GLframebuffer *) driDrawPriv->driverPrivate, (GLframebuffer *) driReadPriv->driverPrivate); |