Win32 CPU cpuinfo was also using SDL_MMXExt() and SDL_Had3DNewExt()

This commit is contained in:
Alam Ed Arias 2014-03-24 19:39:05 -04:00
parent be96974742
commit 21fc19f9d0

View file

@ -3039,8 +3039,8 @@ const CPUInfoFlags *I_CPUInfo(void)
WIN_CPUInfo.SSE2 = SDL_HasSSE2(); WIN_CPUInfo.SSE2 = SDL_HasSSE2();
WIN_CPUInfo.AltiVec = SDL_HasAltiVec(); WIN_CPUInfo.AltiVec = SDL_HasAltiVec();
} }
WIN_CPUInfo.MMXExt = SDL_HasMMXExt(); WIN_CPUInfo.MMXExt = SDL_FALSE; //SDL_HasMMXExt(); No longer in SDL2
WIN_CPUInfo.AMD3DNowExt = SDL_Has3DNowExt(); WIN_CPUInfo.AMD3DNowExt = SDL_FALSE; //SDL_Has3DNowExt(); No longer in SDL2
#endif #endif
GetSystemInfo(&SI); GetSystemInfo(&SI);
WIN_CPUInfo.CPUs = SI.dwNumberOfProcessors; WIN_CPUInfo.CPUs = SI.dwNumberOfProcessors;