Merge pull request #72064 from hcoura/fix-vulkan-mobile-gpu-particles
RenderForwardMobile - add dependency tracker info on geometry create
This commit is contained in:
commit
d5d127309b
1 changed files with 3 additions and 0 deletions
|
@ -2237,6 +2237,9 @@ RenderGeometryInstance *RenderForwardMobile::geometry_instance_create(RID p_base
|
|||
|
||||
ginstance->data->base = p_base;
|
||||
ginstance->data->base_type = type;
|
||||
ginstance->data->dependency_tracker.userdata = ginstance;
|
||||
ginstance->data->dependency_tracker.changed_callback = _geometry_instance_dependency_changed;
|
||||
ginstance->data->dependency_tracker.deleted_callback = _geometry_instance_dependency_deleted;
|
||||
|
||||
ginstance->_mark_dirty();
|
||||
|
||||
|
|
Loading…
Reference in a new issue