summaryrefslogtreecommitdiffstats
path: root/servers
diff options
context:
space:
mode:
authorComycSans <47605753+ComycSans@users.noreply.github.com>2024-09-02 18:55:44 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-17 08:57:42 +0200
commit430a69baedc5c06cbe0097f1bf94f88306c92ff1 (patch)
tree1ab9dac59c572dde4b786b44c205b376765d0cd7 /servers
parentb60bf28a2f58c28ba385b0949c29e936953eecf3 (diff)
downloadredot-engine-430a69baedc5c06cbe0097f1bf94f88306c92ff1.tar.gz
Fix SkyRD::Sky::free() freeing material
(cherry picked from commit 09e59fbec5d091375117ab8a62ec566d9ba5a1fe)
Diffstat (limited to 'servers')
-rw-r--r--servers/rendering/renderer_rd/environment/sky.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/environment/sky.cpp b/servers/rendering/renderer_rd/environment/sky.cpp
index b5d31f5414..c9667b6954 100644
--- a/servers/rendering/renderer_rd/environment/sky.cpp
+++ b/servers/rendering/renderer_rd/environment/sky.cpp
@@ -545,7 +545,6 @@ void SkyRD::Sky::free() {
}
if (material.is_valid()) {
- RSG::material_storage->material_free(material);
material = RID();
}
}