summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorm4nu3lf <m4nu3lf@gmail.com>2017-10-06 23:24:23 +0100
committerm4nu3lf <m4nu3lf@gmail.com>2017-11-18 18:35:25 +0000
commit871c47a2bba3ce5adaf5e46e5f8d64acf5a48a1d (patch)
tree1b483f863e889cfbb12773e0735ad5dc90fc4272 /main/main.cpp
parentebbe2bd57235fcbd2edb82c05bb9d7d768b3e7ca (diff)
Restore rendering on a separate thread
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp
index cc6e66d352..4dff183d70 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -822,8 +822,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
OS::get_singleton()->_keep_screen_on = GLOBAL_DEF("display/window/energy_saving/keep_screen_on", true);
if (rtm == -1) {
rtm = GLOBAL_DEF("rendering/threads/thread_model", OS::RENDER_THREAD_SAFE);
- if (rtm >= 1) //hack for now
- rtm = 1;
}
if (rtm >= 0 && rtm < 3) {