summaryrefslogtreecommitdiff
path: root/src/radeon_textured_video.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-23 13:25:04 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-23 13:25:04 -0400
commitf96d5b255425fbd02be2cad26edb590d474a5640 (patch)
tree18209c4cda8ae9f6932a6e04cb1270755a1bb2af /src/radeon_textured_video.c
parente372f845b0defaf2d2c9ef3cbbf7498e09d9372e (diff)
R6xx/R7xx: clip rendering to destination surface dimensions
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r--src/radeon_textured_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index d034c336..0f89b491 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -50,7 +50,7 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv);
extern Bool
R600CopyToVRAM(ScrnInfoPtr pScrn,
char *src, int src_pitch,
- uint32_t dst_pitch, uint32_t dst_mc_addr, uint32_t dst_height, int bpp,
+ uint32_t dst_pitch, uint32_t dst_mc_addr, uint32_t dst_width, uint32_t dst_height, int bpp,
int x, int y, int w, int h);
#define IMAGE_MAX_WIDTH 2048
@@ -203,7 +203,7 @@ R600CopyData(
R600CopyToVRAM(pScrn,
(char *)src, srcPitch,
- dstPitch, dst_mc_addr, h, cpp * 8,
+ dstPitch, dst_mc_addr, w, h, cpp * 8,
0, 0, w, h);
} else {
if (srcPitch == dstPitch)