Merge pull request #96486 from ComycSans/black_sky
Fix `SkyRD::Sky::free()` freeing shared material
This commit is contained in:
commit
d1c27f239d
|
@ -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