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
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to