diff options
author | withmorten <morten.with@gmail.com> | 2021-01-29 16:41:34 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-01-29 16:41:34 +0100 |
commit | 934aa92a9b9c2bfd2bf4af8316bf12fb83416902 (patch) | |
tree | 99b60a2240a4923a0cedef25d2f171f143a3c249 /src | |
parent | CdStreamPosix fixes (diff) | |
download | re3-934aa92a9b9c2bfd2bf4af8316bf12fb83416902.tar re3-934aa92a9b9c2bfd2bf4af8316bf12fb83416902.tar.gz re3-934aa92a9b9c2bfd2bf4af8316bf12fb83416902.tar.bz2 re3-934aa92a9b9c2bfd2bf4af8316bf12fb83416902.tar.lz re3-934aa92a9b9c2bfd2bf4af8316bf12fb83416902.tar.xz re3-934aa92a9b9c2bfd2bf4af8316bf12fb83416902.tar.zst re3-934aa92a9b9c2bfd2bf4af8316bf12fb83416902.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/re3.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index d0006fd3..83ef7c88 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -406,6 +406,10 @@ bool LoadINISettings() ReadIniIfExists("CustomPipesValues", "LightmapMult", &CustomPipes::LightmapMult); ReadIniIfExists("CustomPipesValues", "GlossMult", &CustomPipes::GlossMult); #endif + ReadIniIfExists("Rendering", "BackfaceCulling", &gBackfaceCulling); +#ifdef NEW_RENDERER + ReadIniIfExists("Rendering", "NewRender", &gbNewRenderer); +#endif #ifdef PROPER_SCALING ReadIniIfExists("Draw", "ProperScaling", &CDraw::ms_bProperScaling); @@ -495,6 +499,9 @@ void SaveINISettings() StoreIni("CustomPipesValues", "GlossMult", CustomPipes::GlossMult); #endif StoreIni("Rendering", "BackfaceCulling", gBackfaceCulling); +#ifdef NEW_RENDERER + StoreIni("Rendering", "NewRenderer", gbNewRenderer); +#endif #ifdef PROPER_SCALING StoreIni("Draw", "ProperScaling", CDraw::ms_bProperScaling); |