Skip to content

Commit 9708b08

Browse files
committed
Merge pull request #110249 from beicause/fix-compositor-effects-init-callback
Fix `CompositorEffect` not setting post-transparent callback on init
2 parents fc9a775 + d9d7966 commit 9708b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/resources/compositor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ CompositorEffect::CompositorEffect() {
186186
RenderingServer *rs = RenderingServer::get_singleton();
187187
if (rs != nullptr) {
188188
rid = rs->compositor_effect_create();
189-
rs->compositor_effect_set_callback(rid, RenderingServer::CompositorEffectCallbackType(effect_callback_type), Callable(this, "_render_callback"));
189+
rs->compositor_effect_set_callback(rid, RenderingServer::CompositorEffectCallbackType(effect_callback_type), callable_mp(this, &CompositorEffect::_call_render_callback));
190190
}
191191
}
192192

0 commit comments

Comments
 (0)