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