SDL-1.2: SDL_wingl.c: fixed unused warnings when OpenGL isn't enabled

From 06315b7510491ce25ff7d7def8b80ed21b839293 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 18 Apr 2021 11:55:10 +0300
Subject: [PATCH] SDL_wingl.c: fixed unused warnings when OpenGL isn't enabled

---
 src/video/wincommon/SDL_wingl.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/video/wincommon/SDL_wingl.c b/src/video/wincommon/SDL_wingl.c
index fc4e9846..6a22ea39 100644
--- a/src/video/wincommon/SDL_wingl.c
+++ b/src/video/wincommon/SDL_wingl.c
@@ -31,7 +31,6 @@
 
 #if SDL_VIDEO_OPENGL
 #define DEFAULT_GL_DRIVER_PATH "OPENGL32.DLL"
-#endif
 
 /* If setting the HDC fails, we may need to recreate the window (MSDN) */
 static int WIN_GL_ResetWindow(_THIS)
@@ -75,8 +74,6 @@ static int WIN_GL_ResetWindow(_THIS)
 	return(status);
 }
 
-#if SDL_VIDEO_OPENGL
-
 static int ExtensionSupported(const char *extension, const char *extensions)
 {
 	const char *start;
@@ -91,9 +88,8 @@ static int ExtensionSupported(const char *extension, const char *extensions)
 		return 0;
 
 	/* It takes a bit of care to be fool-proof about parsing the
-	 *      OpenGL extensions string. Don't be fooled by sub-strings,
-	 *           etc. */
-	
+	 * OpenGL extensions string. Don't be fooled by sub-strings,
+	 * etc. */
 	start = extensions;
 	
 	for (;;)