You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Deprecate the pointless unsafe threading model for rendering
This commit is contained in:
@@ -872,7 +872,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