Merge pull request #9970 from RGDTAB/patch-1

Update demo code in compositor effect tutorial
This commit is contained in:
Matthew
2024-09-17 22:10:36 -04:00
committed by GitHub
+1 -1
View File
@@ -152,7 +152,7 @@ We also need to clean up after ourselves, for this we react to the
if what == NOTIFICATION_PREDELETE:
if shader.is_valid():
# Freeing our shader will also free any dependents such as the pipeline!
RenderingServer.free_rid(shader)
rd.free_rid(shader)
Note that we do not use our mutex here even though we create our shader inside
of our render thread.