mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Now scaling depth in viewport Depth mode and removed debug windows
This commit is contained in:
@@ -166,7 +166,7 @@ namespace Nuake {
|
||||
}
|
||||
else if (SelectedViewport == 3)
|
||||
{
|
||||
texture = Engine::GetCurrentScene()->m_SceneRenderer->GetGBuffer().GetTexture(GL_DEPTH_ATTACHMENT);
|
||||
texture = Engine::GetCurrentScene()->m_SceneRenderer->GetScaledDepthTexture();
|
||||
}
|
||||
|
||||
ImVec2 imagePos = ImGui::GetWindowPos() + ImGui::GetCursorPos();
|
||||
|
||||
Reference in New Issue
Block a user