diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-02-06 18:29:55 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-02-06 18:29:55 -0500 |
commit | 1b45936ae614244aa49b1a5d3c7fc39773c4f9b6 (patch) | |
tree | 93eaed7d0f791026b91a5d1b4a99cb4783d0d142 /src/r600_exa.c | |
parent | c06d89e16d5b2553142e8641e66080e1770c1563 (diff) |
R6xx/R7xx EXA: Fix typo in DFS
noticed by pzad in IRC
Diffstat (limited to 'src/r600_exa.c')
-rw-r--r-- | src/r600_exa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c index 7d5d7dc2..a4e2a4dc 100644 --- a/src/r600_exa.c +++ b/src/r600_exa.c @@ -2144,7 +2144,7 @@ R600DownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h, return FALSE; scratch_mc_addr = info->gartLocation + info->dri->bufStart + (scratch->idx * scratch->total); - hpass = min(h, scratch->total/2 / scratch_pitch); + hpass = min(h, scratch->total/2 / scratch_pitch_bytes); //blit from vram to scratch R600DoPrepareCopy(pScrn, @@ -2159,7 +2159,7 @@ R600DownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h, int oldhpass = hpass; h -= oldhpass; y += oldhpass; - hpass = min(h, scratch->total/2 / scratch_pitch); + hpass = min(h, scratch->total/2 / scratch_pitch_bytes); if (hpass) { scratch_offset = scratch->total/2 - scratch_offset; |