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()
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_QT_FRONTEND OFF)
set(BUILD_REGTEST OFF)

View File

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