mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 16:02:50 +02:00
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:
@@ -144,7 +144,7 @@
|
|||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
EnableFunctionLevelLinking="true"
|
EnableFunctionLevelLinking="true"
|
||||||
EnableEnhancedInstructionSet="1"
|
EnableEnhancedInstructionSet="1"
|
||||||
FloatingPointModel="0"
|
FloatingPointModel="2"
|
||||||
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
ProgramDataBaseFileName="$(IntDir)\$(ProjectName).pdb"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
Detect64BitPortabilityProblems="false"
|
Detect64BitPortabilityProblems="false"
|
||||||
|
@@ -1479,6 +1479,7 @@ int glestMain(int argc, char** argv) {
|
|||||||
if( haveSpecialOutputCommandLineOption == false ||
|
if( haveSpecialOutputCommandLineOption == false ||
|
||||||
hasCommandArgument(argc, argv,GAME_ARGS[GAME_ARG_VERSION]) == true) {
|
hasCommandArgument(argc, argv,GAME_ARGS[GAME_ARG_VERSION]) == true) {
|
||||||
#ifdef USE_STREFLOP
|
#ifdef USE_STREFLOP
|
||||||
|
# define STREFLOP_NO_DENORMALS
|
||||||
streflop_init<streflop::Simple>();
|
streflop_init<streflop::Simple>();
|
||||||
printf("%s, SVN: [%s], [STREFLOP]\n",getNetworkVersionString().c_str(),getSVNRevisionString().c_str());
|
printf("%s, SVN: [%s], [STREFLOP]\n",getNetworkVersionString().c_str(),getSVNRevisionString().c_str());
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user