summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-14 14:05:13 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-14 14:05:13 -0400
commit5473eeeb45468fd200fec49a8506281628a5e4b5 (patch)
tree03fe2eb2dc8d6c60f229855f57567c11108bdb19 /src/radeon_video.c
parent0485f27bc3d75cb6ab320e8164dbe6ea2713c78e (diff)
R3/4/5xx: only upload the bicubic texture once
Upload the bicubic texture once during textured video init rather than once per frame. Suggested by Michel Daenzer on IRC.
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r--src/radeon_video.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 58b9d46a..f1fe72b2 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -1648,10 +1648,6 @@ RADEONStopVideo(ScrnInfoPtr pScrn, pointer data, Bool cleanup)
if (pPriv->textured) {
if (cleanup) {
- if (pPriv->bicubic_memory != NULL) {
- radeon_legacy_free_memory(pScrn, pPriv->bicubic_memory);
- pPriv->bicubic_memory = NULL;
- }
if (pPriv->video_memory != NULL) {
radeon_legacy_free_memory(pScrn, pPriv->video_memory);
pPriv->video_memory = NULL;