On 11/01/2010 10:24 PM, Pauli Nieminen wrote: > Bool > DRI2SwapLimit(DrawablePtr pDraw, int swap_limit) > { > DRI2DrawablePtr pPriv = DRI2GetDrawable(pDraw); > + DRI2ScreenPtr ds = pPriv->dri2_screen; > if (!pPriv) > return FALSE; ds should be updated after pPriv test -- wucan