commit e45603767349eba244d1405eb8a9bf9b80dbe22a parent 6c879a4bd392fc8e432ce3941f9876ec1399e22f Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Jul 2 00:02:08 +0300 Whoops Diffstat:
launcher/main.cc | | | 3 | ++- |
diff --git a/launcher/main.cc b/launcher/main.cc @@ -597,8 +597,9 @@ int main() { Updater * updater = SCOPED_ACQUIRE( locked_updater ); + v2u32 window_size = get_window_size(); ImGui::SetNextWindowPos( ImVec2() ); - ImGui::SetNextWindowSize( ImVec2( float( WIDTH ), float( HEIGHT ) ) ); + ImGui::SetNextWindowSize( ImVec2( float( window_size.x ), float( window_size.y ) ) ); ImGui::Begin( "", NULL, 0 | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize