aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-06 20:52:29 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-06 20:52:29 +0000
commitb6f5f627941168150af7e55e519a7cf421afdbee (patch)
treefd8a734c165108eed96eac116f8cb4b23a328341
parente9c18bd3ae7f4a976f7cb6d9673419cfb0cdc469 (diff)
downloadioquake3-aero-b6f5f627941168150af7e55e519a7cf421afdbee.tar.gz
ioquake3-aero-b6f5f627941168150af7e55e519a7cf421afdbee.zip
* Removed seemingly unnecessary OS X implementation of yuv_to_rgb24
git-svn-id: svn://svn.icculus.org/quake3/trunk@433 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/client/cl_cin.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/code/client/cl_cin.c b/code/client/cl_cin.c
index 1a54005..e15f4a7 100644
--- a/code/client/cl_cin.c
+++ b/code/client/cl_cin.c
@@ -643,25 +643,6 @@ static unsigned short yuv_to_rgb( long y, long u, long v )
* Description:
*
******************************************************************************/
-#if defined(MACOS_X)
-
-static ID_INLINE unsigned int yuv_to_rgb24( long y, long u, long v )
-{
- long r,g,b,YY;
-
- YY = (long)(ROQ_YY_tab[(y)]);
-
- r = (YY + ROQ_VR_tab[v]) >> 6;
- g = (YY + ROQ_UG_tab[u] + ROQ_VG_tab[v]) >> 6;
- b = (YY + ROQ_UB_tab[u]) >> 6;
-
- if (r<0) r = 0; if (g<0) g = 0; if (b<0) b = 0;
- if (r > 255) r = 255; if (g > 255) g = 255; if (b > 255) b = 255;
-
- return ((r<<24)|(g<<16)|(b<<8))|(255); //+(255<<24));
-}
-
-#else
static unsigned int yuv_to_rgb24( long y, long u, long v )
{
long r,g,b,YY = (long)(ROQ_YY_tab[(y)]);
@@ -675,7 +656,6 @@ static unsigned int yuv_to_rgb24( long y, long u, long v )
return LittleLong ((r)|(g<<8)|(b<<16)|(255<<24));
}
-#endif
/******************************************************************************
*