exa: some minor cleanup

- Fix compile warning
- Order exa.h by source file that exports the function.
- Move the function i created earlier to private headers.
This commit is contained in:
Maarten Maathuis 2008-08-26 17:21:43 +02:00
commit 7c14fdbacf
3 changed files with 25 additions and 17 deletions

View file

@ -242,9 +242,9 @@ exaCopyDirty(ExaMigrationPtr migrate, RegionPtr pValidDst, RegionPtr pValidSrc,
pBox->x1, pBox->y1,
pBox->x2 - pBox->x1,
pBox->y2 - pBox->y1,
pExaPixmap->sys_ptr
(char *) (pExaPixmap->sys_ptr
+ pBox->y1 * pExaPixmap->sys_pitch
+ pBox->x1 * pPixmap->drawable.bitsPerPixel / 8,
+ pBox->x1 * pPixmap->drawable.bitsPerPixel / 8),
pExaPixmap->sys_pitch))
{
if (!access_prepared) {