GPU: Display VRAM with 1:1 pixel ratio rather than scaling

This commit is contained in:
Connor McLaughlin
2020-03-29 01:14:33 +10:00
parent 21ddfacd40
commit fe824d6c89
4 changed files with 4 additions and 4 deletions

View File

@ -526,7 +526,7 @@ void GPU_HW_D3D11::UpdateDisplay()
m_host_display->SetDisplayTexture(m_vram_texture.GetD3DSRV(), m_vram_texture.GetWidth(), m_vram_texture.GetHeight(),
0, 0, m_vram_texture.GetWidth(), m_vram_texture.GetHeight());
m_host_display->SetDisplayParameters(VRAM_WIDTH, VRAM_HEIGHT, Common::Rectangle<s32>(0, 0, VRAM_WIDTH, VRAM_HEIGHT),
1.0f);
static_cast<float>(VRAM_WIDTH) / static_cast<float>(VRAM_HEIGHT));
}
else
{