SetViewport now part of RenderCommand

This commit is contained in:
Simon Lübeß
2021-09-21 13:15:43 +02:00
parent 4af61a372f
commit 4debaee7d4
9 changed files with 25 additions and 9 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ namespace Sandbox
_depthTarget.Bind();
_context.BindRenderTargets();
_context.SetViewport(_context.SwapChain.BackbufferViewport);
RenderCommand.SetViewport(_context.SwapChain.BackbufferViewport);
Renderer.BeginScene(_cameraController.Camera);