summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-08-18 16:28:33 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-08-19 23:24:33 +0200
commitbc4cef1d0ae7cbb8f5fe16d576db45abd4330370 (patch)
tree59be322e8fab36e8a2ce3107b3d37063254bb087 /exa
parent38bdc34d555f956a1ff1e1bb8eef95e3ba2bac64 (diff)
exa: remove useless cache{X,Y}off from UploadToScreen() arguments.
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_glyphs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/exa/exa_glyphs.c b/exa/exa_glyphs.c
index ff665d555..59ef394d4 100644
--- a/exa/exa_glyphs.c
+++ b/exa/exa_glyphs.c
@@ -389,9 +389,10 @@ exaGlyphCacheUploadGlyph(ScreenPtr pScreen,
if (!pCachePixmap)
return FALSE;
+ /* CACHE_{X,Y} are in pixmap coordinates, no need for cache{X,Y}off */
if (!pExaScr->info->UploadToScreen(pCachePixmap,
- CACHE_X(pos) + cacheXoff,
- CACHE_Y(pos) + cacheYoff,
+ CACHE_X(pos),
+ CACHE_Y(pos),
pGlyph->info.width,
pGlyph->info.height,
(char *)pExaPixmap->sys_ptr,