1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Fix SkyRD::Sky::free() freeing material

(cherry picked from commit 09e59fbec5)
This commit is contained in:
ComycSans
2024-09-02 18:55:44 +02:00
committed by Rémi Verschelde
parent b60bf28a2f
commit 430a69baed

View File

@@ -545,7 +545,6 @@ void SkyRD::Sky::free() {
}
if (material.is_valid()) {
RSG::material_storage->material_free(material);
material = RID();
}
}