From 57098a77eca98fba609d649c0f6f9715e6e7a79a Mon Sep 17 00:00:00 2001 From: erorcun Date: Sat, 26 Dec 2020 12:10:04 +0300 Subject: Backface cull. in INI, mouse sensitivity fix, aspect ratio auto as default --- src/core/re3.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/re3.cpp') diff --git a/src/core/re3.cpp b/src/core/re3.cpp index d51e50ba..bb5e4ab6 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -195,6 +195,7 @@ void LoadINISettings() CustomPipes::LightmapMult = CheckAndReadIniFloat("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult); CustomPipes::GlossMult = CheckAndReadIniFloat("CustomPipesValues", "GlossMult", CustomPipes::GlossMult); #endif + gBackfaceCulling = CheckAndReadIniInt("Rendering", "BackfaceCulling", gBackfaceCulling); } void SaveINISettings() @@ -233,6 +234,7 @@ void SaveINISettings() CheckAndSaveIniFloat("CustomPipesValues", "LightmapMult", CustomPipes::LightmapMult, changed); CheckAndSaveIniFloat("CustomPipesValues", "GlossMult", CustomPipes::GlossMult, changed); #endif + CheckAndSaveIniInt("Rendering", "BackfaceCulling", gBackfaceCulling, changed); if (changed) cfg.write_file("reVC.ini"); -- cgit v1.2.3