Skip to content

Commit b089669

Browse files
committed
Fixed fps lag spikes.
Changed the compile flags of all projects to use /O2 instead of /Ox, to maximize speed.
1 parent f772686 commit b089669

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

mak.vs2008/lua5.1_dll.vcproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="Windows-1252"?>
22
<VisualStudioProject
33
ProjectType="Visual C++"
4-
Version="9.00"
4+
Version="9,00"
55
Name="lua5.1_dll"
66
ProjectGUID="{8EEECEE6-A6EC-BC48-8E76-22B87825444B}"
77
RootNamespace="lua5.1_dll"
@@ -128,7 +128,7 @@
128128
/>
129129
<Tool
130130
Name="VCCLCompilerTool"
131-
Optimization="3"
131+
Optimization="2"
132132
AdditionalIncludeDirectories="../../../Shared/publicsdk/lua/include"
133133
PreprocessorDefinitions="FORCE_BUILD=3"
134134
StringPooling="true"
@@ -215,7 +215,7 @@
215215
/>
216216
<Tool
217217
Name="VCCLCompilerTool"
218-
Optimization="3"
218+
Optimization="2"
219219
AdditionalIncludeDirectories="../../../Shared/publicsdk/lua/include"
220220
PreprocessorDefinitions="FORCE_BUILD=3"
221221
StringPooling="true"

mak.vs2008/lua5.1_lib.vcproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="Windows-1252"?>
22
<VisualStudioProject
33
ProjectType="Visual C++"
4-
Version="9.00"
4+
Version="9,00"
55
Name="lua5.1_lib"
66
ProjectGUID="{E2629417-52DF-854E-B510-C15A87AB4BE3}"
77
RootNamespace="lua5.1_lib"
@@ -112,7 +112,7 @@
112112
/>
113113
<Tool
114114
Name="VCCLCompilerTool"
115-
Optimization="3"
115+
Optimization="2"
116116
FavorSizeOrSpeed="1"
117117
AdditionalIncludeDirectories="../include"
118118
PreprocessorDefinitions="WIN32_LEAN_AND_MEAN"
@@ -185,7 +185,7 @@
185185
/>
186186
<Tool
187187
Name="VCCLCompilerTool"
188-
Optimization="3"
188+
Optimization="2"
189189
FavorSizeOrSpeed="1"
190190
AdditionalIncludeDirectories="../include"
191191
PreprocessorDefinitions="WIN32_LEAN_AND_MEAN"

0 commit comments

Comments
 (0)