summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-18 11:18:58 -0700
committerKeith Packard <keithp@keithp.com>2013-03-18 11:18:58 -0700
commit116f020102fd6c2a603069a639b113dfa31b48b7 (patch)
tree6255896d3cfc86be4cb4bc12443374eb38e6e3d7 /fb
parentcf89aa53748b964f9d9eceaa12a7d6f1a076d1ee (diff)
parent0f537da72d414ed84e3cd14e3bb7e08565136bd7 (diff)
Merge remote-tracking branch 'whot/next'
Diffstat (limited to 'fb')
-rw-r--r--fb/fbpict.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c
index 2804ff481..b50385805 100644
--- a/fb/fbpict.c
+++ b/fb/fbpict.c
@@ -185,19 +185,15 @@ fbGlyphs(CARD8 op,
if (maskFormat) {
pixman_format_code_t format;
pixman_box32_t extents;
- int x, y;
format = maskFormat->format | (maskFormat->depth << 24);
pixman_glyph_get_extents(glyphCache, n_glyphs, pglyphs, &extents);
- x = extents.x1;
- y = extents.y1;
-
pixman_composite_glyphs(op, srcImage, dstImage, format,
xSrc + srcXoff + xDst, ySrc + srcYoff + yDst,
- x, y,
- x + dstXoff, y + dstYoff,
+ extents.x1, extents.y1,
+ extents.x1 + dstXoff, extents.y1 + dstYoff,
extents.x2 - extents.x1,
extents.y2 - extents.y1,
glyphCache, n_glyphs, pglyphs);