From 8f821c776c24f1bb59d5a2c123d6e6a5c9b6dc14 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 22 Apr 2021 15:52:11 +1000 Subject: [PATCH] FullscreenUI: Fix compile with cheevos compile-time disabled --- src/frontend-common/fullscreen_ui.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend-common/fullscreen_ui.cpp b/src/frontend-common/fullscreen_ui.cpp index 5abc8b312..6745bdf14 100644 --- a/src/frontend-common/fullscreen_ui.cpp +++ b/src/frontend-common/fullscreen_ui.cpp @@ -1100,6 +1100,8 @@ static bool ToggleButtonForNonSetting(const char* title, const char* summary, co return true; } +#ifdef WITH_CHEEVOS + static void DrawAchievementsLoginWindow() { ImGui::SetNextWindowSize(LayoutScale(700.0f, 0.0f)); @@ -1185,6 +1187,8 @@ static bool ConfirmChallengeModeEnable() return true; } +#endif + static bool WantsToCloseMenu() { // Wait for the Close button to be released, THEN pressed