summaryrefslogtreecommitdiff
path: root/src/radeon_exa_funcs.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-02-15 16:44:39 +0100
committerMichel Dänzer <michel@daenzer.net>2010-02-15 17:10:06 +0100
commit47136fa347d1756523239746b4c74cd5278a1118 (patch)
tree1795f1cb4a30f555e3c5bd368d24f365886c36d6 /src/radeon_exa_funcs.c
parent6e95905f759b844373be62ec513c78153ed00222 (diff)
EXA: Fix order of coordinates passed to radeon_pick_best_crtc().
The wrong order prevented tearing avoidance from working with EXA/DRI2.
Diffstat (limited to 'src/radeon_exa_funcs.c')
-rw-r--r--src/radeon_exa_funcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
index a3098d8f..5806d3b1 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -227,7 +227,7 @@ FUNC_NAME(RADEONSolid)(PixmapPtr pPix, int x1, int y1, int x2, int y2)
if (info->accel_state->vsync)
FUNC_NAME(RADEONWaitForVLine)(pScrn, pPix,
- radeon_pick_best_crtc(pScrn, x1, y1, x2, y2),
+ radeon_pick_best_crtc(pScrn, x1, x2, y1, y2),
y1, y2);
BEGIN_ACCEL(2);
@@ -348,7 +348,7 @@ FUNC_NAME(RADEONCopy)(PixmapPtr pDst,
if (info->accel_state->vsync)
FUNC_NAME(RADEONWaitForVLine)(pScrn, pDst,
- radeon_pick_best_crtc(pScrn, dstX, dstY, dstX + w, dstY + h),
+ radeon_pick_best_crtc(pScrn, dstX, dstX + w, dstY, dstY + h),
dstY, dstY + h);
BEGIN_ACCEL(3);
@@ -386,7 +386,7 @@ RADEONUploadToScreenCP(PixmapPtr pDst, int x, int y, int w, int h,
if (info->accel_state->vsync)
FUNC_NAME(RADEONWaitForVLine)(pScrn, pDst,
- radeon_pick_best_crtc(pScrn, x, y, x + w, y + h),
+ radeon_pick_best_crtc(pScrn, x, x + w, y, y + h),
y, y + h);
while ((buf = RADEONHostDataBlit(pScrn,