mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Update demo code in compositor effect tutorial
This commit is contained in:
committed by
Max Hilbrunner
parent
5a67756151
commit
78b3cbe3ab
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user