mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 10:30:19 +01:00
exa: remove useless cache{X,Y}off from UploadToScreen() arguments.
This commit is contained in:
parent
38bdc34d55
commit
bc4cef1d0a
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue