mirror of
https://github.com/UberGames/ioef.git
synced 2025-03-10 02:41:46 +00:00
Sys_GetProcessorFeatures() didn't check for 3DNow! or Altivec.
This commit is contained in:
parent
f911e32bb0
commit
2a3c331ba1
1 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue