[cairo-commit] libpixman/src pixman-xserver-compat.h,1.6,1.7
Jeff Muizelaar
commit at pdx.freedesktop.org
Fri Aug 5 12:26:35 PDT 2005
Committed by: jrmuizel
Update of /cvs/cairo/libpixman/src
In directory gabe:/tmp/cvs-serv19970/src
Modified Files:
pixman-xserver-compat.h
Log Message:
2005-08-05 Jeff Muizelaar <jeff at infidigm.net>
* src/pixman-xserver-compat.h: Fix fbGetDrawable
Patch from Billy Biggs <vektor at dumbterm.net>.
Index: pixman-xserver-compat.h
===================================================================
RCS file: /cvs/cairo/libpixman/src/pixman-xserver-compat.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- pixman-xserver-compat.h 25 Jun 2005 22:03:17 -0000 1.6
+++ pixman-xserver-compat.h 5 Aug 2005 19:26:33 -0000 1.7
@@ -78,10 +78,10 @@
/* XXX: We changed some function and field names which makes for some
* ugly hacks... */
#define pDrawable pixels
-#define fbGetDrawable(pDrawable, pointer, stride, bpp, xoff, yoff) { \
+#define fbGetDrawable(pDrawable, buf, outstride, outbpp, xoff, yoff) { \
(buf) = (pDrawable)->data; \
- (stride) = ((int) pDrawable->stride) / sizeof (pixman_bits_t); \
- (bpp) = (pDrawable)->bpp; \
+ (outstride) = ((int) pDrawable->stride) / sizeof (pixman_bits_t); \
+ (outbpp) = (pDrawable)->bpp; \
(xoff) = 0; \
(yoff) = 0; \
}
More information about the cairo-commit
mailing list