Merge pull request #98383 from RandomShaper/deprecate_unsafe_th_rend
Deprecate the pointless unsafe threading model for rendering
This commit is contained in:
@@ -885,7 +885,7 @@ bool ResourceLoader::_ensure_load_progress() {
|
||||
// Some servers may need a new engine iteration to allow the load to progress.
|
||||
// Since the only known one is the rendering server (in single thread mode), let's keep it simple and just sync it.
|
||||
// This may be refactored in the future to support other servers and have less coupling.
|
||||
if (OS::get_singleton()->get_render_thread_mode() == OS::RENDER_SEPARATE_THREAD) {
|
||||
if (OS::get_singleton()->is_separate_thread_rendering_enabled()) {
|
||||
return false; // Not needed.
|
||||
}
|
||||
RenderingServer::get_singleton()->sync();
|
||||
|
||||
Reference in New Issue
Block a user