summaryrefslogtreecommitdiffstats
path: root/core/templates/command_queue_mt.h
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2023-09-09 16:11:33 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2023-09-11 19:45:49 +0200
commit893f889d74b35bb7330c3ff3d0187042770a4490 (patch)
treeb1435faf6380670ffc4a878d0cdcb29a0527f5a7 /core/templates/command_queue_mt.h
parent221884e6bc260c38f16422081b7d4efd49a71375 (diff)
downloadredot-engine-893f889d74b35bb7330c3ff3d0187042770a4490.tar.gz
[Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
Diffstat (limited to 'core/templates/command_queue_mt.h')
-rw-r--r--core/templates/command_queue_mt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/command_queue_mt.h b/core/templates/command_queue_mt.h
index b7dd1bae34..7e480653ac 100644
--- a/core/templates/command_queue_mt.h
+++ b/core/templates/command_queue_mt.h
@@ -409,7 +409,7 @@ public:
}
void wait_and_flush() {
- ERR_FAIL_COND(!sync);
+ ERR_FAIL_NULL(sync);
sync->wait();
_flush();
}