Skip to content

Commit

Permalink
Add compositor_free branch in Compatibility scene renderer free function
Browse files Browse the repository at this point in the history
  • Loading branch information
clayjohn committed Feb 27, 2024
1 parent bb6b06c commit 57f8b88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gles3/rasterizer_scene_gles3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3969,6 +3969,10 @@ bool RasterizerSceneGLES3::free(RID p_rid) {
} else if (RSG::camera_attributes->owns_camera_attributes(p_rid)) {
//not much to delete, just free it
RSG::camera_attributes->camera_attributes_free(p_rid);
} else if (is_compositor(p_rid)) {
compositor_free(p_rid);
} else if (is_compositor_effect(p_rid)) {
compositor_effect_free(p_rid);
} else {
return false;
}
Expand Down

0 comments on commit 57f8b88

Please sign in to comment.