diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2006-08-07 09:57:58 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2006-08-07 09:57:58 -0700 |
commit | 1c72290cdf4d9b214e1b9c0526cb7cb8641051f3 (patch) | |
tree | 6524968cd18948fabb07158ccb03721001c2e509 /fb/fbpixmap.c | |
parent | ee02e647882a4be29e1130bd79904ee79ed6b802 (diff) |
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.
Diffstat (limited to 'fb/fbpixmap.c')
-rw-r--r-- | fb/fbpixmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |