diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-07-23 13:25:04 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-07-23 13:25:04 -0400 |
commit | f96d5b255425fbd02be2cad26edb590d474a5640 (patch) | |
tree | 18209c4cda8ae9f6932a6e04cb1270755a1bb2af /src/radeon_textured_video.c | |
parent | e372f845b0defaf2d2c9ef3cbbf7498e09d9372e (diff) |
R6xx/R7xx: clip rendering to destination surface dimensions
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r-- | src/radeon_textured_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index d034c33..0f89b49 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) |