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

@@ -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;