mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
SetViewport now part of RenderCommand
This commit is contained in:
@@ -396,7 +396,7 @@ namespace Sandbox
|
||||
_depthTarget.Bind();
|
||||
_context.BindRenderTargets();
|
||||
|
||||
_context.SetViewport(_context.SwapChain.BackbufferViewport);
|
||||
RenderCommand.SetViewport(_context.SwapChain.BackbufferViewport);
|
||||
|
||||
Renderer.BeginScene(_cameraController.Camera);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user