From ac883e44fa90c30e92145a6268296b723a3ff2d5 Mon Sep 17 00:00:00 2001 From: Berk Date: Mon, 20 Jul 2026 16:57:38 +0300 Subject: [PATCH] [VideoPresenter] Fix logical width/height calculation (#473) --- src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs b/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs index 82b3228..9f0ab80 100644 --- a/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs +++ b/src/SharpEmu.Libs/VideoOut/VulkanVideoPresenter.cs @@ -5457,6 +5457,8 @@ internal static unsafe class VulkanVideoPresenter FlipVersion = version, Width = source.Width, Height = source.Height, + LogicalWidth = source.LogicalWidth, + LogicalHeight = source.LogicalHeight, MipLevels = 1, GuestFormat = source.GuestFormat, Format = source.Format, @@ -7604,6 +7606,8 @@ internal static unsafe class VulkanVideoPresenter Address = 0, Width = width, Height = height, + LogicalWidth = width, + LogicalHeight = height, MipLevels = 1, GuestFormat = GetGuestTextureFormat(texture.Format, texture.NumberType), Format = vkFormat, @@ -7810,6 +7814,8 @@ internal static unsafe class VulkanVideoPresenter Address = texture.Address, Width = width, Height = height, + LogicalWidth = width, + LogicalHeight = height, MipLevels = 1, GuestFormat = guestFormat, Format = vkFormat,