mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user