From 9e6df10550f6282ee05e021476396480b98d27c9 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Sun, 3 Jun 2012 13:09:27 +0200 Subject: [PATCH] Do not set the FPU state This is a workaround for a MinGW bug and should be resolved before the first CFT is released. A TODO item was added in a preceding commit. --- src/windows/system.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/windows/system.c b/src/windows/system.c index c35ae159..4fd18e6a 100644 --- a/src/windows/system.c +++ b/src/windows/system.c @@ -41,7 +41,7 @@ #define MAX_NUM_ARGVS 128 int starttime; -int ActiveApp; +qboolean ActiveApp; qboolean Minimized; static HANDLE hinput, houtput; @@ -561,7 +561,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, } while (time < 1); - _controlfp(_PC_24, _MCW_PC); + /*_controlfp(_PC_24, _MCW_PC); */ Qcommon_Frame(time); oldtime = newtime;