Change GetGameWindowSize to return game viewport size.

This commit is contained in:
Chandler Cox
2023-02-05 20:22:54 -06:00
parent f4da984399
commit 4b9bbfb663
4 changed files with 1 additions and 42 deletions

View File

@@ -189,7 +189,7 @@ Viewport Camera::GetViewport() const
#if USE_EDITOR
// Editor
if (Editor::Managed)
result.Size = Editor::Managed->GetGameWindowViewportSize();
result.Size = Editor::Managed->GetGameWindowSize();
#else
// game
auto mainWin = Engine::MainWindow;