-disabled thread model 2 for the time being, crashes on linux without reason, fixes #1482
This commit is contained in:
parent
f54ad9e086
commit
b312df0561
1 changed files with 3 additions and 0 deletions
|
@ -640,6 +640,9 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas
|
||||||
GLOBAL_DEF("display/test_height",0);
|
GLOBAL_DEF("display/test_height",0);
|
||||||
if (rtm==-1) {
|
if (rtm==-1) {
|
||||||
rtm=GLOBAL_DEF("render/thread_model",OS::RENDER_THREAD_SAFE);
|
rtm=GLOBAL_DEF("render/thread_model",OS::RENDER_THREAD_SAFE);
|
||||||
|
if (rtm>=1) //hack for now
|
||||||
|
rtm=1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rtm>=0 && rtm<3)
|
if (rtm>=0 && rtm<3)
|
||||||
|
|
Loading…
Reference in a new issue