FullscreenUI: Fix compile with cheevos compile-time disabled

This commit is contained in:
Connor McLaughlin 2021-04-22 15:52:11 +10:00
parent cc6ef01926
commit 8f821c776c
1 changed files with 4 additions and 0 deletions

View File

@ -1100,6 +1100,8 @@ static bool ToggleButtonForNonSetting(const char* title, const char* summary, co
return true; return true;
} }
#ifdef WITH_CHEEVOS
static void DrawAchievementsLoginWindow() static void DrawAchievementsLoginWindow()
{ {
ImGui::SetNextWindowSize(LayoutScale(700.0f, 0.0f)); ImGui::SetNextWindowSize(LayoutScale(700.0f, 0.0f));
@ -1185,6 +1187,8 @@ static bool ConfirmChallengeModeEnable()
return true; return true;
} }
#endif
static bool WantsToCloseMenu() static bool WantsToCloseMenu()
{ {
// Wait for the Close button to be released, THEN pressed // Wait for the Close button to be released, THEN pressed