Skip to content
Permalink
Browse files
Merge pull request #6394 from stenzek/macos-resize
OGL: Call GLInterface->Update() on window resize
  • Loading branch information
stenzek committed Feb 23, 2018
2 parents c08f6f0 + 2ba8f67 commit a62343b
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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;
}

0 comments on commit a62343b

Please sign in to comment.