use a pixman_op_t here
authorBenjamin Otte <otte@gnome.org>
Wed, 29 Aug 2007 21:15:33 +0000 (23:15 +0200)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Tue, 23 Jun 2009 18:42:33 +0000 (14:42 -0400)
This improves the readability in gdb when debugging this structure

pixman/pixman-combine.c.template

index 2f7f5d1..3cd5740 100644 (file)
@@ -341,7 +341,7 @@ fbCombineScreenU (pixman_implementation_t *imp, pixman_op_t op,
        dca = Blue (d);                             \
        FbBlendOp (b);                              \
                                                    \
-       *(dest + i) = (a << 24)                     \
+       *(dest + i) = (a << A_SHIFT)                \
            | ((r & MASK) << R_SHIFT)               \
            | ((g & MASK) << G_SHIFT)               \
            |  (b & MASK);                          \