You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix SkyRD::Sky::free() freeing material
This commit is contained in:
@@ -545,7 +545,6 @@ void SkyRD::Sky::free() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (material.is_valid()) {
|
if (material.is_valid()) {
|
||||||
RSG::material_storage->material_free(material);
|
|
||||||
material = RID();
|
material = RID();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user