diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-04-27 00:19:07 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-04-27 00:19:07 -0300 |
commit | b312df05616d18b0b8723f91fe7f71f9b831f004 (patch) | |
tree | e9992d3b9a38841227347a738495935f10e7d7c3 | |
parent | f54ad9e086b96feb29794b183a40248d17e60411 (diff) |
-disabled thread model 2 for the time being, crashes on linux without reason, fixes #1482
-rw-r--r-- | main/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 7c687bb0ce..a822418eaa 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) |