diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-21 23:40:06 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-11-04 17:24:34 +0100 |
commit | 1778301cd008bb791fd27239e0f2659ae640e351 (patch) | |
tree | 8eb98e2e6175b5b86b18113f7a4fa4e7181e7474 /servers/rendering/renderer_rd | |
parent | 191c8ed12f624ec97b650b2726fed4e8c4bcf04c (diff) |
Add call_deferred() method to Callable
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r-- | servers/rendering/renderer_rd/storage_rd/utilities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/storage_rd/utilities.cpp b/servers/rendering/renderer_rd/storage_rd/utilities.cpp index 4048c46d28..625f089f66 100644 --- a/servers/rendering/renderer_rd/storage_rd/utilities.cpp +++ b/servers/rendering/renderer_rd/storage_rd/utilities.cpp @@ -200,7 +200,7 @@ void Utilities::visibility_notifier_call(RID p_notifier, bool p_enter, bool p_de if (p_enter) { if (!vn->enter_callback.is_null()) { if (p_deferred) { - vn->enter_callback.call_deferredp(nullptr, 0); + vn->enter_callback.call_deferred(); } else { Variant r; Callable::CallError ce; @@ -210,7 +210,7 @@ void Utilities::visibility_notifier_call(RID p_notifier, bool p_enter, bool p_de } else { if (!vn->exit_callback.is_null()) { if (p_deferred) { - vn->exit_callback.call_deferredp(nullptr, 0); + vn->exit_callback.call_deferred(); } else { Variant r; Callable::CallError ce; |