mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 13:12:42 +00:00
Fix SkyRD::Sky::free() freeing material
This commit is contained in:
parent
7c383767a2
commit
09e59fbec5
@ -545,7 +545,6 @@ void SkyRD::Sky::free() {
|
||||
}
|
||||
|
||||
if (material.is_valid()) {
|
||||
RSG::material_storage->material_free(material);
|
||||
material = RID();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user