summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-04 17:19:35 +0100
committerGitHub <noreply@github.com>2021-02-04 17:19:35 +0100
commit2ba66c1457850fa0eb6e1c8d144e311d2b59619a (patch)
tree56948448bed54f75ef4bee8e7a50faea464a68c8 /scene/resources
parenta405a249a60fc6b88b0c2880d85dc6dc9c1d3e10 (diff)
parentf20999f6feba2af6ae7d246c40fcfc5404bdd429 (diff)
Merge pull request #45672 from reduz/barrier-optimization
Rewrote how barriers work for faster rendering
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/sky_material.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/resources/sky_material.cpp b/scene/resources/sky_material.cpp
index ee6a26bc65..b2efecb1cb 100644
--- a/scene/resources/sky_material.cpp
+++ b/scene/resources/sky_material.cpp
@@ -597,5 +597,4 @@ PhysicalSkyMaterial::PhysicalSkyMaterial() {
PhysicalSkyMaterial::~PhysicalSkyMaterial() {
RS::get_singleton()->free(shader);
- RS::get_singleton()->material_set_shader(_get_material(), RID());
}