summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_canvas_cull.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-06 15:55:43 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-06 15:55:43 +0100
commit12b4a263ee3dd9b5a8ffba28b4e5abecc2b4f328 (patch)
treeb5ec66dbec8dcb95af8440bdeadd4e3ac8fce06d /servers/rendering/renderer_canvas_cull.cpp
parent1836b4b79874e76cfc913a988423ea2b3dfad64c (diff)
parent1778301cd008bb791fd27239e0f2659ae640e351 (diff)
Merge pull request #67730 from KoBeWi/late_to_the_call
Add call_deferred() method to Callable
Diffstat (limited to 'servers/rendering/renderer_canvas_cull.cpp')
-rw-r--r--servers/rendering/renderer_canvas_cull.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_canvas_cull.cpp b/servers/rendering/renderer_canvas_cull.cpp
index 41d4ca8d5e..16d382a5f3 100644
--- a/servers/rendering/renderer_canvas_cull.cpp
+++ b/servers/rendering/renderer_canvas_cull.cpp
@@ -1964,7 +1964,7 @@ void RendererCanvasCull::update_visibility_notifiers() {
if (!visibility_notifier->enter_callable.is_null()) {
if (RSG::threaded) {
- visibility_notifier->enter_callable.call_deferredp(nullptr, 0);
+ visibility_notifier->enter_callable.call_deferred();
} else {
Callable::CallError ce;
Variant ret;
@@ -1977,7 +1977,7 @@ void RendererCanvasCull::update_visibility_notifiers() {
if (!visibility_notifier->exit_callable.is_null()) {
if (RSG::threaded) {
- visibility_notifier->exit_callable.call_deferredp(nullptr, 0);
+ visibility_notifier->exit_callable.call_deferred();
} else {
Callable::CallError ce;
Variant ret;