Proper 4:3 support

This commit is contained in:
NicknineTheEagle
2024-06-28 21:27:44 +03:00
committed by Radosław Gliński
parent 49166f0bd1
commit c4e930ed4c
8 changed files with 105 additions and 12 deletions

View File

@@ -1286,8 +1286,11 @@ void VulkanCommandProcessor::IssueSwap(uint32_t frontbuffer_ptr,
return;
}
auto aspect = graphics_system_->GetScaledAspectRatio();
presenter->RefreshGuestOutput(
frontbuffer_width_scaled, frontbuffer_height_scaled, 1280, 720,
frontbuffer_width_scaled, frontbuffer_height_scaled, aspect.first,
aspect.second,
[this, frontbuffer_width_scaled, frontbuffer_height_scaled,
frontbuffer_format, swap_texture_view](
ui::Presenter::GuestOutputRefreshContext& context) -> bool {