mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
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:
parent
de79edbd9f
commit
7c14fdbacf
3 changed files with 25 additions and 17 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue