diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-01-16 01:59:23 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-01-16 01:59:23 +0000 |
commit | 79a7120983eff6fa114d4250fe01b62d4a99a612 (patch) | |
tree | bd6c5a0143c06a5df599e6d799ab0dddcca7509e /fb/fbpict.c | |
parent | 24cdd188dc3c10b56d6a7b46dafefb16c6d13efc (diff) |
Bug #1895: Fix fbComposeGetSolid for BGR. (David S. Miller)
Diffstat (limited to 'fb/fbpict.c')
-rw-r--r-- | fb/fbpict.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c index cb0dcd138..4843eb2a1 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -99,7 +99,7 @@ fbCompositeSolidMask_nx8x8888 (CARD8 op, FbStride dstStride, maskStride; CARD16 w; - fbComposeGetSolid(pSrc, src); + fbComposeGetSolid(pSrc, src, pDst->format); dstMask = FbFullMask (pDst->pDrawable->depth); srca = src >> 24; @@ -158,7 +158,7 @@ fbCompositeSolidMask_nx8888x8888C (CARD8 op, CARD16 w; CARD32 m, n, o, p; - fbComposeGetSolid(pSrc, src); + fbComposeGetSolid(pSrc, src, pDst->format); dstMask = FbFullMask (pDst->pDrawable->depth); srca = src >> 24; @@ -231,7 +231,7 @@ fbCompositeSolidMask_nx8x0888 (CARD8 op, FbStride dstStride, maskStride; CARD16 w; - fbComposeGetSolid(pSrc, src); + fbComposeGetSolid(pSrc, src, pDst->format); srca = src >> 24; if (src == 0) @@ -293,7 +293,7 @@ fbCompositeSolidMask_nx8x0565 (CARD8 op, FbStride dstStride, maskStride; CARD16 w; - fbComposeGetSolid(pSrc, src); + fbComposeGetSolid(pSrc, src, pDst->format); srca = src >> 24; if (src == 0) @@ -358,7 +358,7 @@ fbCompositeSolidMask_nx8888x0565C (CARD8 op, CARD16 w; CARD32 m, n, o; - fbComposeGetSolid(pSrc, src); + fbComposeGetSolid(pSrc, src, pDst->format); srca = src >> 24; if (src == 0) @@ -763,7 +763,7 @@ fbCompositeSolidMask_nx1xn (CARD8 op, int maskXoff, maskYoff; FbBits src; - fbComposeGetSolid(pSrc, src); + fbComposeGetSolid(pSrc, src, pDst->format); if ((src & 0xff000000) != 0xff000000) { |