mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 06:48:33 +00:00
Changed the aspect ratio settings to account for NTSC/PAL pixel aspect ratios and VI scaling.
This commit is contained in:
parent
ab2e68aa16
commit
0faba3b018
9 changed files with 126 additions and 38 deletions
|
@ -56,6 +56,14 @@ FramebufferManager::FramebufferManager()
|
|||
{
|
||||
m_target_width = Renderer::GetTargetWidth();
|
||||
m_target_height = Renderer::GetTargetHeight();
|
||||
if(m_target_height < 1)
|
||||
{
|
||||
m_target_height = 1;
|
||||
}
|
||||
if(m_target_width < 1)
|
||||
{
|
||||
m_target_width = 1;
|
||||
}
|
||||
DXGI_SAMPLE_DESC sample_desc = D3D::GetAAMode(g_ActiveConfig.iMultisampleMode);
|
||||
|
||||
ID3D11Texture2D* buf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue