GPU: Fix initial resolution scale not applying

This commit is contained in:
Connor McLaughlin 2019-10-05 15:05:30 +10:00
parent 1998a74ff4
commit e1578ad063
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ void GPU_HW_OpenGL::SetMaxResolutionScale()
m_system->GetSettings().max_gpu_resolution_scale = max_resolution_scale; m_system->GetSettings().max_gpu_resolution_scale = max_resolution_scale;
m_system->GetSettings().gpu_resolution_scale = m_system->GetSettings().gpu_resolution_scale =
std::min(m_system->GetSettings().gpu_resolution_scale, max_resolution_scale); std::min(m_system->GetSettings().gpu_resolution_scale, max_resolution_scale);
m_resolution_scale = m_system->GetSettings().gpu_resolution_scale;
} }
void GPU_HW_OpenGL::CreateFramebuffer() void GPU_HW_OpenGL::CreateFramebuffer()