Skip to content

Commit

Permalink
Fix for disabled console crash
Browse files Browse the repository at this point in the history
  • Loading branch information
maximegmd committed Dec 18, 2020
1 parent 3282de1 commit 8a21d46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/overlay/Overlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@ void Overlay::Render(IDXGISwapChain3* pSwapChain)
ImGui::Selectable(item.c_str());

if (result)
ImGui::ListBoxFooter();

ImGui::End();
ImGui::ListBoxFooter();
}

ImGui::End();

ImGui::Render();

const auto bufferIndex = pSwapChain->GetCurrentBackBufferIndex();
Expand Down

0 comments on commit 8a21d46

Please sign in to comment.