Renderer: Pull dimensions from GLInterface/Swapchain

This commit is contained in:
Stenzek 2018-10-03 23:03:16 +10:00
commit 1d827a5223
7 changed files with 7 additions and 26 deletions

View file

@ -889,9 +889,6 @@ void Renderer::CheckForSurfaceResize()
if (!m_surface_resized.TestAndClear())
return;
m_backbuffer_width = m_new_backbuffer_width;
m_backbuffer_height = m_new_backbuffer_height;
// If we don't have a surface, how can we resize the swap chain?
// CheckForSurfaceChange should handle this case.
if (!m_swap_chain)