mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Fix CompositorEffect
not setting post-transparent callback on init
This commit is contained in:
parent
6c9aa4c7d3
commit
d9d796618d
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ CompositorEffect::CompositorEffect() {
|
|||
RenderingServer *rs = RenderingServer::get_singleton();
|
||||
if (rs != nullptr) {
|
||||
rid = rs->compositor_effect_create();
|
||||
rs->compositor_effect_set_callback(rid, RenderingServer::CompositorEffectCallbackType(effect_callback_type), Callable(this, "_render_callback"));
|
||||
rs->compositor_effect_set_callback(rid, RenderingServer::CompositorEffectCallbackType(effect_callback_type), callable_mp(this, &CompositorEffect::_call_render_callback));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue