Fixed incorrect C# code sample in viewports.rst

This commit is contained in:
LurkerAbove
2025-07-26 12:56:28 -07:00
committed by GitHub
parent 658c6de4aa
commit dc161765e2

View File

@@ -181,7 +181,7 @@ it using (for example):
.. code-tab:: csharp
// Wait until the frame has finished before getting the texture.
await RenderingServer.Singleton.ToSignal(RenderingServer.SignalName.FramePostDraw);
await ToSignal(RenderingServer.Singleton, RenderingServer.SignalName.FramePostDraw);
// You can get the image after this.
Viewport Container