commit e3abff914d47a58865ef8384b2617fec2f74a9fd Author: Gustavo Pichorim Boiko Date: Fri Mar 30 16:41:07 2007 -0300 Check the drawable state when getting the lock If the window was moved or resized, the drawable should be updated. diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index ca2c8fa..85535d4 100644 --- a/src/mesa/drivers/dri/mga/mga_xmesa.c +++ b/src/mesa/drivers/dri/mga/mga_xmesa.c @@ -910,6 +910,7 @@ void mgaGetLock( mgaContextPtr mmesa, GL drmGetLock(mmesa->driFd, mmesa->hHWContext, flags); + DRI_VALIDATE_DRAWABLE_INFO( mmesa->driScreen, dPriv ); if (*(dPriv->pStamp) != mmesa->lastStamp) { mmesa->lastStamp = *(dPriv->pStamp); mmesa->SetupNewInputs |= VERT_BIT_POS;