diff --git a/platforms/shared/desktop/gui.cpp b/platforms/shared/desktop/gui.cpp index b82d932..91ee103 100644 --- a/platforms/shared/desktop/gui.cpp +++ b/platforms/shared/desktop/gui.cpp @@ -302,6 +302,9 @@ static void main_window(void) case 2: ratio = 16.0f / 9.0f; break; + case 3: + ratio = 16.0f / 10.0f; + break; default: ratio = (float)runtime.screen_width / (float)runtime.screen_height; } diff --git a/platforms/shared/desktop/gui_menus.cpp b/platforms/shared/desktop/gui_menus.cpp index fdba092..90b858b 100644 --- a/platforms/shared/desktop/gui_menus.cpp +++ b/platforms/shared/desktop/gui_menus.cpp @@ -268,7 +268,7 @@ static void menu_video(void) if (ImGui::MenuItem("Resize Window to Content")) { - if (!config_debug.debug && (config_video.ratio != 3)) + if (!config_debug.debug) { application_trigger_fit_to_content(gui_main_window_width, gui_main_window_height + gui_main_menu_height); } @@ -287,7 +287,7 @@ static void menu_video(void) if (ImGui::BeginMenu("Aspect Ratio")) { ImGui::PushItemWidth(160.0f); - ImGui::Combo("##ratio", &config_video.ratio, "Square Pixels (1:1 PAR)\0Standard (4:3 DAR)\0Wide (16:9 DAR)\0\0"); + ImGui::Combo("##ratio", &config_video.ratio, "Square Pixels (1:1 PAR)\0Standard (4:3 DAR)\0Wide (16:9 DAR)\0Wide (16:10 DAR)\0\0"); ImGui::PopItemWidth(); ImGui::EndMenu(); }