From 1c72290cdf4d9b214e1b9c0526cb7cb8641051f3 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Mon, 7 Aug 2006 09:57:58 -0700 Subject: 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. --- fb/fbpixmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fb/fbpixmap.c') diff --git a/fb/fbpixmap.c b/fb/fbpixmap.c index aca37d420..c2ddcb0e9 100644 --- a/fb/fbpixmap.c +++ b/fb/fbpixmap.c @@ -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); -- cgit v1.2.3