1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add compositor_free branch in Compatibility scene renderer free function

This commit is contained in:
clayjohn
2024-02-26 07:45:42 -08:00
parent bb6b06c813
commit 57f8b885de

View File

@@ -3969,6 +3969,10 @@ bool RasterizerSceneGLES3::free(RID p_rid) {
} else if (RSG::camera_attributes->owns_camera_attributes(p_rid)) { } else if (RSG::camera_attributes->owns_camera_attributes(p_rid)) {
//not much to delete, just free it //not much to delete, just free it
RSG::camera_attributes->camera_attributes_free(p_rid); 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 { } else {
return false; return false;
} }