From 3ae9b548e6f5fb986c990cee06234cc99863be8b Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 21 Feb 2021 17:01:30 +0300
Subject: [PATCH] comment-out EnabledUnicode and SetupScreenSaver - they aren't
used yet.
---
src/SDL12_compat.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index c4ba2fb..0f8fabb 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -745,7 +745,9 @@ static SDL_GLContext VideoGLContext20 = NULL;
static char *WindowTitle = NULL;
static char *WindowIconTitle = NULL;
static SDL_Surface *VideoIcon20 = NULL;
+#if 0 /* unused, yet. */
static int EnabledUnicode = 0;
+#endif
static int VideoDisplayIndex = 0;
static int CDRomInit = 0;
static SDL12_EventFilter EventFilter12 = NULL;
@@ -2733,6 +2735,7 @@ GetEnvironmentWindowPosition(int *x, int *y)
}
}
+#if 0 /* unused, yet. */
static void
SetupScreenSaver(const int flags12)
{
@@ -2754,7 +2757,7 @@ SetupScreenSaver(const int flags12)
SDL20_DisableScreenSaver();
}
}
-
+#endif
static SDL12_Surface *
EndVidModeCreate(void)