Skip to content

Commit b600291

Browse files
authored
Merge pull request #11147 from LurkerAbove/patch-2
Fix incorrect C# code sample in viewports.rst
2 parents 7a09a25 + dc16176 commit b600291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/rendering/viewports.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ it using (for example):
181181
.. code-tab:: csharp
182182

183183
// Wait until the frame has finished before getting the texture.
184-
await RenderingServer.Singleton.ToSignal(RenderingServer.SignalName.FramePostDraw);
184+
await ToSignal(RenderingServer.Singleton, RenderingServer.SignalName.FramePostDraw);
185185
// You can get the image after this.
186186

187187
Viewport Container

0 commit comments

Comments
 (0)