aboutsummaryrefslogtreecommitdiff
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-29 19:30:27 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-29 19:30:27 +0300
commitf61a91c97dac4a8ab244c1df09d58ac452ac5835 (patch)
treea3df1cf5a58cfb814d530eb0c967b3392aa2d0de /src/core/re3.cpp
parentd52b917c549719addf45788413210ea1700cd0d5 (diff)
parentf7fc919d98cd5762d1f033f162d741f09cb93551 (diff)
Merge branch 'master' of https://github.com/GTAmodding/re3
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 7c780516..37b2cdf0 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -396,6 +396,9 @@ bool LoadINISettings()
ReadIniIfExists("CustomPipesValues", "LightmapMult", &CustomPipes::LightmapMult);
ReadIniIfExists("CustomPipesValues", "GlossMult", &CustomPipes::GlossMult);
#endif
+#ifdef NEW_RENDERER
+ ReadIniIfExists("Rendering", "NewRenderer", &gbNewRenderer);
+#endif
#ifdef PROPER_SCALING
ReadIniIfExists("Draw", "ProperScaling", &CDraw::ms_bProperScaling);
@@ -479,6 +482,9 @@ void SaveINISettings()
StoreIni("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult);
StoreIni("CustomPipesValues", "GlossMult", CustomPipes::GlossMult);
#endif
+#ifdef NEW_RENDERER
+ StoreIni("Rendering", "NewRenderer", gbNewRenderer);
+#endif
#ifdef PROPER_SCALING
StoreIni("Draw", "ProperScaling", CDraw::ms_bProperScaling);