diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2007-06-15 18:08:56 -0600 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2007-07-06 17:00:26 -0600 |
commit | ea11d99bc29086a8fa92c01dd22f195d626b33d2 (patch) | |
tree | 8d00524d46e04d7f3d688ec7c7930737d3921036 /src/amd_lx_exa.c | |
parent | 7bf0627cd001325affbe16118a2f27225179eabd (diff) |
Two fixes for compositing for Cairo 1.4.4 and X server 1.3+
Diffstat (limited to 'src/amd_lx_exa.c')
-rw-r--r-- | src/amd_lx_exa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/amd_lx_exa.c b/src/amd_lx_exa.c index eec6a7c..2f5ef85 100644 --- a/src/amd_lx_exa.c +++ b/src/amd_lx_exa.c @@ -577,9 +577,9 @@ static Bool lx_prepare_composite(int op, PicturePtr pSrc, PicturePtr pMsk, /* Get the source color */ if (direction == 0) - exaScratch.srcColor = lx_get_source_color(pSrc, 0, 0, pSrc->format); + exaScratch.srcColor = lx_get_source_color(pSrc, 0, 0, pDst->format); else - exaScratch.srcColor = lx_get_source_color(pDst, 0, 0, pDst->format); + exaScratch.srcColor = lx_get_source_color(pDst, 0, 0, pSrc->format); /* FIXME: What to do here? */ @@ -1025,7 +1025,7 @@ Bool LXExaInit(ScreenPtr pScreen) pExa->WaitMarker = lx_wait_marker; pExa->UploadToScreen = lx_upload; - pExa->DownloadFromScreen = lx_download; + //pExa->DownloadFromScreen = lx_download; pExa->PrepareSolid = lx_prepare_solid; pExa->Solid = lx_do_solid; |