Skip to content

Commit

Permalink
Merge pull request #6394 from stenzek/macos-resize
Browse files Browse the repository at this point in the history
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.
1 change: 1 addition & 0 deletions Source/Core/VideoBackends/OGL/Render.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit a62343b

Please sign in to comment.