exa: A more correct fix.
This commit is contained in:
parent
2db7b66863
commit
1567b7243f
|
@ -72,8 +72,7 @@ exaGetPixmapOffset(PixmapPtr pPix)
|
||||||
{
|
{
|
||||||
ExaScreenPriv (pPix->drawable.pScreen);
|
ExaScreenPriv (pPix->drawable.pScreen);
|
||||||
|
|
||||||
return ((unsigned long)(unsigned long *)ExaGetPixmapAddress(pPix) -
|
return (CARD8 *)ExaGetPixmapAddress(pPix) - pExaScr->info->memoryBase;
|
||||||
(unsigned long)pExaScr->info->memoryBase);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
|
|
Loading…
Reference in New Issue