mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-25 20:28:48 +08:00
Compare commits
1 Commits
main
...
fix_logical_w_h
| Author | SHA1 | Date | |
|---|---|---|---|
| 0945b2c000 |
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user