summaryrefslogtreecommitdiff
path: root/fb/fbpixmap.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2006-08-07 09:57:58 -0700
committerAaron Plattner <aplattner@nvidia.com>2006-08-07 09:57:58 -0700
commit1c72290cdf4d9b214e1b9c0526cb7cb8641051f3 (patch)
tree6524968cd18948fabb07158ccb03721001c2e509 /fb/fbpixmap.c
parentee02e647882a4be29e1130bd79904ee79ed6b802 (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.c2
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);