From 6a01f2cf32396f8747381ab7c3a81ee7a2aa6325 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Sun, 9 May 2010 04:43:15 +0300 Subject: [PATCH] Fix bicubic filter garbage Problems started with 5473eeeb45468fd200fec49a8506281628a5e4b5 which moved the texture uploading sooner in the setup chain to radeon_load_bicubic_texture(). If I move the same code to RADEONPutImageTextured() and ensure it's executed only once, this fix is not needed. I've no idea why. Signed-off-by: Felipe Contreras --- src/radeon_textured_video.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index 1490ccb..ae0395b 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -711,7 +711,7 @@ Bool radeon_load_bicubic_texture(ScrnInfoPtr pScrn) /* Bicubic filter loading */ info->bicubic_offset = radeon_legacy_allocate_memory(pScrn, &info->bicubic_memory, - sizeof(bicubic_tex_512), 64, + 1024, 64, RADEON_GEM_DOMAIN_VRAM); if (info->bicubic_offset == 0) return FALSE; -- 1.7.1