mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
[Android] Add support for rotation and minimizing the application
This commit is contained in:
@ -1467,6 +1467,13 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
|
||||
OSD::DoCallbacks(OSD::CallbackType::OnFrame);
|
||||
OSD::DrawMessages();
|
||||
|
||||
if (s_SurfaceNeedsChanged.IsSet())
|
||||
{
|
||||
GLInterface->UpdateSurface();
|
||||
s_SurfaceNeedsChanged.Clear();
|
||||
s_ChangedSurface.Set();
|
||||
}
|
||||
|
||||
// Copy the rendered frame to the real window
|
||||
GLInterface->Swap();
|
||||
|
||||
|
Reference in New Issue
Block a user