ImGui: Remove close button from debug windows
They can be closed by unchecking the setting instead, and it stays in sync with the config this way.
This commit is contained in:
parent
c8efade20c
commit
c6c67b7b27
6 changed files with 6 additions and 6 deletions
|
|
@ -1525,7 +1525,7 @@ void GPU::DrawDebugStateWindow()
|
|||
const float framebuffer_scale = ImGui::GetIO().DisplayFramebufferScale.x;
|
||||
|
||||
ImGui::SetNextWindowSize(ImVec2(450.0f * framebuffer_scale, 550.0f * framebuffer_scale), ImGuiCond_FirstUseEver);
|
||||
if (!ImGui::Begin("GPU", &g_settings.debugging.show_gpu_state))
|
||||
if (!ImGui::Begin("GPU", nullptr))
|
||||
{
|
||||
ImGui::End();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue