Removed annoying debug window

This commit is contained in:
Antoine Pilote
2024-09-10 19:24:24 -04:00
parent 2c48590a4a
commit 552fe0ee04

View File

@@ -156,13 +156,6 @@ namespace Nuake
mShadingBuffer->QueueResize(framebufferResolution);
ShadingPass(scene);
ImGui::SetNextWindowSize({ 1280, 720 });
if (ImGui::Begin("Shaded"))
{
ImGui::Image((void*)(mShadingBuffer->GetTexture()->GetID()), ImGui::GetContentRegionAvail(), { 0, 1 }, { 1, 0 });
}
ImGui::End();
// Blit depth buffer
glBindFramebuffer(GL_READ_FRAMEBUFFER, mGBuffer->GetRenderID());
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, mShadingBuffer->GetRenderID());