mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-02 17:55:41 -04:00
Android: Move ImGui NewFrame/EndFrame to correct location
This commit is contained in:
parent
53fb55ff15
commit
4f75f2d266
@ -472,10 +472,11 @@ void AndroidHostInterface::EmulationThreadLoop(JNIEnv* env)
|
|||||||
|
|
||||||
// rendering
|
// rendering
|
||||||
{
|
{
|
||||||
|
ImGui::NewFrame();
|
||||||
DrawImGuiWindows();
|
DrawImGuiWindows();
|
||||||
|
|
||||||
m_display->Render();
|
m_display->Render();
|
||||||
ImGui::NewFrame();
|
ImGui::EndFrame();
|
||||||
|
|
||||||
if (System::IsRunning())
|
if (System::IsRunning())
|
||||||
{
|
{
|
||||||
@ -528,7 +529,6 @@ bool AndroidHostInterface::AcquireHostDisplay()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::NewFrame();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user