Renderer: Pull dimensions from GLInterface/Swapchain

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

View File

@ -719,9 +719,6 @@ void Renderer::CheckForSurfaceResize()
if (!m_surface_resized.TestAndClear() && !exclusive_fullscreen_changed)
return;
m_backbuffer_width = m_new_backbuffer_width;
m_backbuffer_height = m_new_backbuffer_height;
SAFE_RELEASE(m_screenshot_texture);
SAFE_RELEASE(m_3d_vision_texture);
m_last_fullscreen_state = fullscreen_state;