fix fp flags on windoze release build (solves RoutePlanner sync problems)

init streflop in 'no denormals' mode (just in case)
This commit is contained in:
James McCulloch 2011-02-20 23:17:22 +00:00
parent b2ae0f3b7b
commit 2def669678
2 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,7 @@
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
EnableEnhancedInstructionSet="1"
FloatingPointModel="0"
FloatingPointModel="2"
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
WarningLevel="3"
Detect64BitPortabilityProblems="false"

View File

@ -1479,6 +1479,7 @@ int glestMain(int argc, char** argv) {
if( haveSpecialOutputCommandLineOption == false ||
hasCommandArgument(argc, argv,GAME_ARGS[GAME_ARG_VERSION]) == true) {
#ifdef USE_STREFLOP
# define STREFLOP_NO_DENORMALS
streflop_init<streflop::Simple>();
printf("%s, SVN: [%s], [STREFLOP]\n",getNetworkVersionString().c_str(),getSVNRevisionString().c_str());
#else