Merge pull request #96486 from ComycSans/black_sky

Fix `SkyRD::Sky::free()` freeing shared material
This commit is contained in:
Rémi Verschelde 2024-09-03 11:44:05 +02:00
commit d1c27f239d
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 1 deletions

View File

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