Skip to content

Commit a47a105

Browse files
authored
Merge pull request #9970 from RGDTAB/patch-1
Update demo code in compositor effect tutorial
2 parents 8454524 + 856701e commit a47a105

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)