Sys_GetProcessorFeatures() didn't check for 3DNow! or Altivec.

This commit is contained in:
Ryan C. Gordon committed 2016-03-27 12:46:38 -04:00
1 parent f911e32bb0
commit 2a3c331ba1
1 file changed
+6 -4
+6 -4
View File
@@ -274,10 +274,12 @@ cpuFeatures_t Sys_GetProcessorFeatures( void )
cpuFeatures_t features = 0;
#ifndef DEDICATED
if( SDL_HasRDTSC( ) ) features |= CF_RDTSC;
if( SDL_HasMMX( ) ) features |= CF_MMX;
if( SDL_HasSSE( ) ) features |= CF_SSE;
if( SDL_HasSSE2( ) ) features |= CF_SSE2;
if( SDL_HasRDTSC( ) ) features |= CF_RDTSC;
if( SDL_SDL_Has3DNow( ) ) features |= CF_3DNOW;
if( SDL_HasMMX( ) ) features |= CF_MMX;
if( SDL_HasSSE( ) ) features |= CF_SSE;
if( SDL_HasSSE2( ) ) features |= CF_SSE2;
if( SDL_HasAltiVec( ) ) features |= CF_ALTIVEC;
#endif
return features;