You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Merge pull request #11895 from m4nu3lf/rendering/separate_thread
Restore rendering on a separate thread
This commit is contained in:
@@ -832,8 +832,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) {
|
||||
|
||||
Reference in New Issue
Block a user