From 856701e560c59cbcbc67644602ccb86a2cb6910e Mon Sep 17 00:00:00 2001 From: Raymond DiDonato Date: Mon, 16 Sep 2024 20:55:26 -0400 Subject: [PATCH] Update demo code in compositor effect tutorial --- tutorials/rendering/compositor.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/rendering/compositor.rst b/tutorials/rendering/compositor.rst index bcebe3c1e..763a9a2ab 100644 --- a/tutorials/rendering/compositor.rst +++ b/tutorials/rendering/compositor.rst @@ -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.