Skip to content

Commit

Permalink
Fix ImGUI
Browse files Browse the repository at this point in the history
  • Loading branch information
xezno committed Dec 24, 2024
1 parent 742beec commit 47debac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ RenderStatus VulkanRenderContext::EndRendering()
//
// Render editor
//
// RenderImGui();
RenderImGui();

//
// We want to present the image, so we'll manually transition the layout to
Expand Down
6 changes: 3 additions & 3 deletions Source/Mocha.Host/Rendering/rendermanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,12 @@ void RenderManager::Render()
//
// 2. Execute passes
//
Globals::m_renderContext->BeginRendering();
sceneMeshPass.Execute();

Globals::m_renderContext->BeginImGui();
editorPass.Execute();
Globals::m_renderContext->EndImGui();

Globals::m_renderContext->BeginRendering();
sceneMeshPass.Execute();
Globals::m_renderContext->EndRendering();
}

Expand Down

0 comments on commit 47debac

Please sign in to comment.