aboutsummaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-04-27 00:19:07 -0300
committerJuan Linietsky2015-04-27 00:19:07 -0300
commitb312df05616d18b0b8723f91fe7f71f9b831f004 (patch)
treee9992d3b9a38841227347a738495935f10e7d7c3 /main/main.cpp
parentf54ad9e086b96feb29794b183a40248d17e60411 (diff)
downloadgodot-b312df05616d18b0b8723f91fe7f71f9b831f004.tar.gz
godot-b312df05616d18b0b8723f91fe7f71f9b831f004.tar.zst
godot-b312df05616d18b0b8723f91fe7f71f9b831f004.zip
-disabled thread model 2 for the time being, crashes on linux without reason, fixes #1482
Diffstat (limited to '')
-rw-r--r--main/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 7c687bb0c..a822418ea 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -640,6 +640,9 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas
GLOBAL_DEF("display/test_height",0);
if (rtm==-1) {
rtm=GLOBAL_DEF("render/thread_model",OS::RENDER_THREAD_SAFE);
+ if (rtm>=1) //hack for now
+ rtm=1;
+
}
if (rtm>=0 && rtm<3)