diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2008-07-30 19:45:15 -0700 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-08-25 06:23:36 -0400 |
commit | 5e85d5a5d0c50b29086ec0c219c8b52d25dbc2e9 (patch) | |
tree | 829340a600b8f811ab21b4bc4824a18540419d40 /src/radeon_textured_video.c | |
parent | 17e5e9573e59c3d82d51c261b9c5005f6aec7d43 (diff) |
Update bicubic tables.
Now including the 2048x1 texture as well.
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 1a822e00..aee081fc 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -207,7 +207,7 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, if (pPriv->bicubic_memory == NULL && pPriv->bicubic_enabled) { pPriv->bicubic_offset = RADEONAllocateMemory(pScrn, &pPriv->bicubic_memory, - sizeof(bicubic_tex_128)); + sizeof(bicubic_tex_512)); pPriv->bicubic_src_offset = pPriv->bicubic_offset + info->fbLocation + pScrn->fbOffset; if (pPriv->bicubic_offset == 0) pPriv->bicubic_enabled = FALSE; @@ -283,7 +283,7 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, /* Upload bicubic filter tex */ if (pPriv->bicubic_enabled) - RADEONCopyData(pScrn, (uint8_t *)bicubic_tex_128, (uint8_t *)(info->FB + pPriv->bicubic_offset), 2048, 2048, 1, 512, 4); + RADEONCopyData(pScrn, (uint8_t *)bicubic_tex_512, (uint8_t *)(info->FB + pPriv->bicubic_offset), 2048, 2048, 1, 512, 4); /* update cliplist */ if (!REGION_EQUAL(pScrn->pScreen, &pPriv->clip, clipBoxes)) { |