You've already forked godot
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user