sdl2-compat: minor coding style clean-up after PR/281.

From 188cb119325aa9a99899f1ff9e2e0d99ae5abf87 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 1 Feb 2025 17:11:04 +0300
Subject: [PATCH] minor coding style clean-up after PR/281.

---
 src/sdl2_compat.c | 8 +++-----
 src/sdl2_compat.h | 7 +++----
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index 381ec52..6a25e4c 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -5255,12 +5255,11 @@ SDL_AudioQuit(void)
 }
 
 SDL_DECLSPEC int SDLCALL
-SDL_GL_GetAttribute(SDL2_GLattr attr, int* value)
+SDL_GL_GetAttribute(SDL2_GLattr attr, int *value)
 {
     bool ret = false;
 
-    switch (attr)
-    {
+    switch (attr) {
     case SDL2_GL_RED_SIZE:
         ret = SDL3_GL_GetAttribute(SDL_GL_RED_SIZE, value);
         break;
@@ -5355,8 +5354,7 @@ SDL_GL_SetAttribute(SDL2_GLattr attr, int value)
 {
     bool ret = false;
 
-    switch (attr)
-    {
+    switch (attr) {
     case SDL2_GL_RED_SIZE:
         ret = SDL3_GL_SetAttribute(SDL_GL_RED_SIZE, value);
         break;
diff --git a/src/sdl2_compat.h b/src/sdl2_compat.h
index afa4b97..606fcce 100644
--- a/src/sdl2_compat.h
+++ b/src/sdl2_compat.h
@@ -1452,10 +1452,9 @@ typedef struct SDL2_Surface
     int refcount;               /**< Read-mostly */
 } SDL2_Surface;
 
-
-//SDL3 has different SDL_GLattr enum since 19
-// (SDL_GL_CONTEXT_EGL in SDL2 vs SDL_GL_CONTEXT_FLAGS in SDL3), SDL2 apps like GoldSrc will be unhappy with SDL_GL_CONTEXT_PROFILE_MASK or sth.
-
+/* SDL3 has different SDL_GLattr enum since 19 (SDL_GL_CONTEXT_EGL in SDL2 vs SDL_GL_CONTEXT_FLAGS in SDL3),
+ * SDL2 apps like GoldSrc will be unhappy with SDL_GL_CONTEXT_PROFILE_MASK or sth.
+ */
 typedef enum SDL2_GLattr
 {
     SDL2_GL_RED_SIZE,                    /**< the minimum number of bits for the red channel of the color buffer; defaults to 3. */