mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-16 17:11:03 +00:00
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:
parent
8102e1a021
commit
fd1e55d18d
2 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -782,9 +782,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
|||
}
|
||||
while (time < 1);
|
||||
|
||||
_controlfp(_PC_24, _MCW_PC);
|
||||
Qcommon_Frame(time);
|
||||
|
||||
oldtime = newtime;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue