mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 14:58:09 +02:00
Fix fbGetDrawable
Patch from Billy Biggs <vektor@dumbterm.net>.
This commit is contained in:
parent
3ef2488265
commit
ec93e241b0
2 changed files with 9 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-08-05 Jeff Muizelaar <jeff@infidigm.net>
|
||||
|
||||
* src/pixman-xserver-compat.h: Fix fbGetDrawable
|
||||
|
||||
Patch from Billy Biggs <vektor@dumbterm.net>.
|
||||
|
||||
2005-08-05 Jeff Muizelaar <jeff@infidigm.net>
|
||||
|
||||
* src/icint.h: Fix some of the 4 bit per channel PICT definitions
|
||||
|
|
|
|||
|
|
@ -78,10 +78,10 @@ typedef pixman_triangle_t xTriangle;
|
|||
/* 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; \
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue