From b312df05616d18b0b8723f91fe7f71f9b831f004 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 27 Apr 2015 00:19:07 -0300 Subject: [PATCH] -disabled thread model 2 for the time being, crashes on linux without reason, fixes #1482 --- main/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/main.cpp b/main/main.cpp index 7c687bb0cea..a822418eaaa 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)