diff options
author | Alex Deucher <alex@samba.(none)> | 2008-02-26 14:33:24 -0500 |
---|---|---|
committer | Alex Deucher <alex@samba.(none)> | 2008-02-26 14:33:24 -0500 |
commit | 44e527a117ab0a363135ff066c7f7e0c12e3dc89 (patch) | |
tree | 47f1d45f7ae8cf7a2c1ca3762683dc8d7f0f0e31 /src/radeon_textured_video.c | |
parent | 00ec17ad53d7ad43f19c9b723794ac1b8ef86826 (diff) |
R300: fix cordinate clamping in render code
Based on Peter's fix for textured video
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r-- | src/radeon_textured_video.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index 8a14024d..b3d689d0 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -67,21 +67,6 @@ RADEONTilingEnabled(ScrnInfoPtr pScrn, PixmapPtr pPix) } } -static __inline__ int -RADEONPow2(int num) -{ - int pot = 2; - - if (num <= 2) - return num; - - while (pot < num) { - pot *= 2; - } - - return pot; -} - static __inline__ CARD32 F_TO_DW(float val) { union { |