Merge pull request #6394 from stenzek/macos-resize

OGL: Call GLInterface->Update() on window resize
This commit is contained in:
Stenzek 2018-02-24 01:19:33 +10:00 committed by GitHub
commit a62343bd4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}