Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Main/engine.cpp')
-rw-r--r--Source/Main/engine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Main/engine.cpp b/Source/Main/engine.cpp
index 7dfa7482..cb4e36bc 100644
--- a/Source/Main/engine.cpp
+++ b/Source/Main/engine.cpp
@@ -6277,11 +6277,11 @@ void Engine::Initialize() {
show_mp_settings = config["menu_show_mp_settings"].toBool();
break_on_script_change = config["asdebugger_break_on_script_change"].toBool();
- // if (!GLEW_VERSION_4_0 && g_single_pass_shadow_cascade) {
- // LOGW << "OpenGL 4.0 not found, disabling single-pass shadow cascade" << std::endl;
- // g_single_pass_shadow_cascade = false;
- // config.GetRef("single_pass_shadow_cascade") = false;
- // }
+ if (!GLAD_GL_VERSION_4_0 && g_single_pass_shadow_cascade) {
+ LOGW << "OpenGL 4.0 not found, disabling single-pass shadow cascade" << std::endl;
+ g_single_pass_shadow_cascade = false;
+ config.GetRef("single_pass_shadow_cascade") = false;
+ }
game_timer.SetStepFrequency(120);
ui_timer.SetStepFrequency(120);