OGL: Call GLInterface->Update() on window resize

macOS in particular requires the context be updated manually when the window
is resized.
This commit is contained in:
Stenzek 2018-02-23 22:27:03 +10:00
parent c08f6f0c53
commit 2ba8f67feb
1 changed files with 1 additions and 0 deletions

View File

@ -1446,6 +1446,7 @@ void Renderer::CheckForSurfaceResize()
if (!m_surface_resized.TestAndClear())
return;
GLInterface->Update();
m_backbuffer_width = m_new_backbuffer_width;
m_backbuffer_height = m_new_backbuffer_height;
}