@@ -3321,20 +3321,22 @@ void MathLib_Init( float gamma, float texGamma, float brightness, int overbright
33213321 pfFastSinCos = SinCos;
33223322 pfFastCos = cosf;
33233323
3324+ #if 0
33243325 if ( bAllowMMX && pi.m_bMMX )
33253326 {
33263327 // Select the MMX specific routines if available
33273328 // (MMX routines were used by SW span fillers - not currently used for HW)
33283329 s_bMMXEnabled = true;
33293330 }
33303331 else
3332+ #endif
33313333 {
33323334 s_bMMXEnabled = false ;
33333335 }
33343336
33353337 // SSE Generally performs better than 3DNow when present, so this is placed
33363338 // first to allow SSE to override these settings.
3337- #if !defined( OSX ) && !defined( PLATFORM_WINDOWS_PC64 ) && !defined(LINUX)
3339+ #if 0 && !defined( OSX ) && !defined( PLATFORM_WINDOWS_PC64 ) && !defined( LINUX )
33383340 if ( bAllow3DNow && pi.m_b3DNow )
33393341 {
33403342 s_b3DNowEnabled = true;
@@ -3357,6 +3359,7 @@ void MathLib_Init( float gamma, float texGamma, float brightness, int overbright
33573359 {
33583360 s_bSSEEnabled = true ;
33593361
3362+ #if 0
33603363#ifndef PLATFORM_WINDOWS_PC64
33613364 // These are not yet available.
33623365 // Select the SSE specific routines if available
@@ -3370,6 +3373,7 @@ void MathLib_Init( float gamma, float texGamma, float brightness, int overbright
33703373#ifdef PLATFORM_WINDOWS_PC32
33713374 pfFastSinCos = _SSE_SinCos;
33723375 pfFastCos = _SSE_cos;
3376+ #endif
33733377#endif
33743378 }
33753379 else
@@ -3380,9 +3384,11 @@ void MathLib_Init( float gamma, float texGamma, float brightness, int overbright
33803384 if ( bAllowSSE2 && pi.m_bSSE2 )
33813385 {
33823386 s_bSSE2Enabled = true ;
3387+ #if 0
33833388#ifdef PLATFORM_WINDOWS_PC32
33843389 pfFastSinCos = _SSE2_SinCos;
33853390 pfFastCos = _SSE2_cos;
3391+ #endif
33863392#endif
33873393 }
33883394 else
0 commit comments