Skip to content

Commit 856701e

Browse files
authored
Update demo code in compositor effect tutorial
1 parent 4361f19 commit 856701e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/rendering/compositor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ We also need to clean up after ourselves, for this we react to the
152152
if what == NOTIFICATION_PREDELETE:
153153
if shader.is_valid():
154154
# Freeing our shader will also free any dependents such as the pipeline!
155-
RenderingServer.free_rid(shader)
155+
rd.free_rid(shader)
156156
157157
Note that we do not use our mutex here even though we create our shader inside
158158
of our render thread.

0 commit comments

Comments
 (0)