Build: Fixes for Android

This commit is contained in:
Connor McLaughlin 2022-09-22 23:11:11 +10:00
parent 736996ab38
commit 6fa8c3962e
2 changed files with 9 additions and 2 deletions

View file

@ -57,7 +57,9 @@ if(USE_WAYLAND)
endif() endif()
if(ANDROID) if(ANDROID)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON) if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()
set(BUILD_NOGUI_FRONTEND OFF) set(BUILD_NOGUI_FRONTEND OFF)
set(BUILD_QT_FRONTEND OFF) set(BUILD_QT_FRONTEND OFF)
set(BUILD_REGTEST OFF) set(BUILD_REGTEST OFF)

View file

@ -6123,7 +6123,7 @@ bool FullscreenUI::Initialize()
if (s_tried_to_initialize) if (s_tried_to_initialize)
return false; return false;
ImGuiFullscreen::SetTheme(); ImGuiFullscreen::SetTheme(false);
ImGuiFullscreen::UpdateLayoutScale(); ImGuiFullscreen::UpdateLayoutScale();
if (!ImGuiManager::AddFullscreenFontsIfMissing() || !ImGuiFullscreen::Initialize("images/placeholder.png")) if (!ImGuiManager::AddFullscreenFontsIfMissing() || !ImGuiFullscreen::Initialize("images/placeholder.png"))
@ -6147,6 +6147,11 @@ bool FullscreenUI::HasActiveWindow()
return false; return false;
} }
void FullscreenUI::CheckForConfigChanges(const Settings& old_settings)
{
// noop
}
void FullscreenUI::OnSystemStarted() void FullscreenUI::OnSystemStarted()
{ {
// noop // noop