mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
D3D12HostDisplay: Fix incorrect height when streaming updates
This commit is contained in:
parent
c7ce9562fa
commit
4bec982ca8
|
@ -162,8 +162,8 @@ bool D3D12HostDisplay::BeginSetDisplayPixels(HostDisplayPixelFormat format, u32
|
||||||
|
|
||||||
void D3D12HostDisplay::EndSetDisplayPixels()
|
void D3D12HostDisplay::EndSetDisplayPixels()
|
||||||
{
|
{
|
||||||
m_display_pixels_texture.EndStreamUpdate(0, 0, m_display_pixels_texture.GetWidth(),
|
m_display_pixels_texture.EndStreamUpdate(0, 0, static_cast<u32>(m_display_texture_view_width),
|
||||||
m_display_pixels_texture.GetHeight());
|
static_cast<u32>(m_display_texture_view_height));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool D3D12HostDisplay::GetHostRefreshRate(float* refresh_rate)
|
bool D3D12HostDisplay::GetHostRefreshRate(float* refresh_rate)
|
||||||
|
|
Loading…
Reference in a new issue