[PATCH v2 5/5] DRI2: Allow DDX to validate swap_limit changes

wucan canbaby at 21cn.com
Fri Nov 12 05:36:33 PST 2010


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


More information about the xorg-devel mailing list