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

Fix errors on quitting from an empty project

This commit is contained in:
Yuri Roubinsky
2021-10-18 14:23:10 +03:00
parent 523e0d80a8
commit 26a26d6657
3 changed files with 6 additions and 2 deletions

View File

@@ -576,6 +576,7 @@ void RendererSceneSkyRD::Sky::free(RendererStorageRD *p_storage) {
if (material.is_valid()) {
p_storage->free(material);
material = RID();
}
}