Do not set the FPU to single precision on Windows

We had dual precision since ever on 64 bit unixoid systems and it "just
worked". So there should be no reason to still force Windows down to
single precision.  The performance impact should be negligible.
This commit is contained in:
Yamagi Burmeister 2013-12-31 13:18:05 +01:00
parent 8102e1a021
commit fd1e55d18d
2 changed files with 0 additions and 9 deletions

View file

@ -39,15 +39,8 @@
#define _MCW_PC 0x00030000
#endif
/* This is a hack to work around a missing MinGW prototype */
#ifndef _controlfp
unsigned int _controlfp(unsigned int new, unsigned int mask);
#endif
extern HINSTANCE global_hInstance;
extern qboolean ActiveApp, Minimized;
extern int window_center_x, window_center_y;
extern RECT window_rect;

View file

@ -782,9 +782,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
}
while (time < 1);
_controlfp(_PC_24, _MCW_PC);
Qcommon_Frame(time);
oldtime = newtime;
}