summaryrefslogtreecommitdiff
path: root/src/radeon_textured_video.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2008-02-26 14:33:24 -0500
committerAlex Deucher <alex@samba.(none)>2008-02-26 14:33:24 -0500
commit44e527a117ab0a363135ff066c7f7e0c12e3dc89 (patch)
tree47f1d45f7ae8cf7a2c1ca3762683dc8d7f0f0e31 /src/radeon_textured_video.c
parent00ec17ad53d7ad43f19c9b723794ac1b8ef86826 (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.c15
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 {