Use DrawablePtrs instead of PixmapPtrs for Prepare/Finish access.

Also, define some wfb functions even if FB_ACCESS_WRAPPER is not defined.  This allows a client to use libfb and libwfb at the same time.
This commit is contained in:
Aaron Plattner 2006-08-07 09:57:58 -07:00
commit 1c72290cdf
3 changed files with 17 additions and 21 deletions

View file

@ -160,7 +160,7 @@ fbPixmapToRegion(PixmapPtr pPix)
FirstRect = REGION_BOXPTR(pReg);
rects = FirstRect;
fbPrepareAccess(pPix);
fbPrepareAccess(&pPix->drawable);
pwLine = (FbBits *) pPix->devPrivate.ptr;
nWidth = pPix->devKind >> (FB_SHIFT-3);