1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-30 18:30:54 +00:00

CommandQueueMT: Make re-entrant again + Fix multiple flushers case

This commit is contained in:
Pedro J. Estébanez
2025-12-09 14:25:49 +01:00
parent 757bba192e
commit 824287eefb
3 changed files with 21 additions and 17 deletions

View File

@@ -74,7 +74,7 @@ class RenderingServerDefault : public RenderingServer {
uint64_t print_frame_profile_ticks_from = 0;
uint32_t print_frame_profile_frame_count = 0;
mutable CommandQueueMT command_queue = CommandQueueMT(true);
mutable CommandQueueMT command_queue;
Thread::ID server_thread = Thread::MAIN_ID;
WorkerThreadPool::TaskID server_task_id = WorkerThreadPool::INVALID_TASK_ID;