diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-02-15 16:44:39 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2010-02-15 17:10:06 +0100 |
commit | 47136fa347d1756523239746b4c74cd5278a1118 (patch) | |
tree | 1795f1cb4a30f555e3c5bd368d24f365886c36d6 /src/r600_exa.c | |
parent | 6e95905f759b844373be62ec513c78153ed00222 (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/r600_exa.c')
-rw-r--r-- | src/r600_exa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c index ddbbb533..5ed9c07f 100644 --- a/src/r600_exa.c +++ b/src/r600_exa.c @@ -110,7 +110,7 @@ static void R600VlineHelperSet(ScrnInfoPtr pScrn, int x1, int y1, int x2, int y2 RADEONInfoPtr info = RADEONPTR(pScrn); struct radeon_accel_state *accel_state = info->accel_state; - accel_state->vline_crtc = radeon_pick_best_crtc(pScrn, x1, y1, x2, y2); + accel_state->vline_crtc = radeon_pick_best_crtc(pScrn, x1, x2, y1, y2); if (accel_state->vline_y1 == -1) accel_state->vline_y1 = y1; if (y1 < accel_state->vline_y1) |