diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-07-11 02:02:38 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-08-25 09:49:28 -0400 |
commit | 7daba77ded1c718e93ae8c372a39a6e85228d513 (patch) | |
tree | 45ae247155398deb0f3faf1e1a1443852bee283b /src/radeon_textured_video.c | |
parent | 610fe1a937da78f4ac813ac919c158dde8f42442 (diff) |
Convert randr, Xv to a common allocator
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r-- | src/radeon_textured_video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index 9e6b37a8..d210a2d5 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -197,14 +197,14 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, dstPitch = (dstPitch + 15) & ~15; if (pPriv->video_memory != NULL && size != pPriv->size) { - RADEONFreeMemory(pScrn, pPriv->video_memory); + radeon_free_memory(pScrn, pPriv->video_memory); pPriv->video_memory = NULL; } if (pPriv->video_memory == NULL) { - pPriv->video_offset = RADEONAllocateMemory(pScrn, - &pPriv->video_memory, - size * 2); + pPriv->video_offset = radeon_allocate_memory(pScrn, + &pPriv->video_memory, + size * 2, 64); if (pPriv->video_offset == 0) return BadAlloc; } |