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

Merge pull request #113802 from RandomShaper/make_cmd_queue_reentrant_again

CommandQueueMT: Make re-entrant again + Fix multiple flushers case
This commit is contained in:
Thaddeus Crews
2025-12-10 18:10:22 -06:00
3 changed files with 21 additions and 17 deletions

View File

@@ -103,7 +103,7 @@ Error _betsy_compress_s3tc(Image *r_img, Image::UsedChannels p_channels);
class BetsyCompressor : public Object {
GDSOFTCLASS(BetsyCompressor, Object);
mutable CommandQueueMT command_queue = CommandQueueMT(true);
mutable CommandQueueMT command_queue;
bool exit = false;
WorkerThreadPool::TaskID task_id = WorkerThreadPool::INVALID_TASK_ID;