diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2013-10-31 22:48:18 +0100 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2013-10-31 23:48:52 +0100 |
commit | e9109a0b04695d6971c94abe271dda2dc1a5e886 (patch) | |
tree | ba8ceaa739a09bc45f54d206b272e73a5c238267 /src/mga_exa.c | |
parent | a77b9c5143591672fbe56f4428ced439c1f4d0f3 (diff) |
mga: Use exaGetPixmapFirstPixel() instead of devPrivate.ptr
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r-- | src/mga_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c index f4a6eb2..69ffa16 100644 --- a/src/mga_exa.c +++ b/src/mga_exa.c @@ -729,7 +729,7 @@ mgaDownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h, { PMGA(pSrc); - char *src = pSrc->devPrivate.ptr; + char *src = (char *) exaGetPixmapFirstPixel(pSrc); int src_pitch = exaGetPixmapPitch(pSrc); int cpp = (pSrc->drawable.bitsPerPixel + 7) / 8; |