SDL: The GPU log category ate one of the SDL reserved categories (cf961)

From cf9613fe632a58bc4ddea604f417fec7c12ee208 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 7 Sep 2024 07:57:29 -0700
Subject: [PATCH] The GPU log category ate one of the SDL reserved categories

---
 src/SDL_log.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/SDL_log.c b/src/SDL_log.c
index 04e8923101d2a..d3f03445bfd9b 100644
--- a/src/SDL_log.c
+++ b/src/SDL_log.c
@@ -95,7 +95,7 @@ static const char * const SDL_category_names[] = {
     "TEST",
     "GPU"
 };
-SDL_COMPILE_TIME_ASSERT(category_names, SDL_arraysize(SDL_category_names) == SDL_LOG_CATEGORY_RESERVED1);
+SDL_COMPILE_TIME_ASSERT(category_names, SDL_arraysize(SDL_category_names) == SDL_LOG_CATEGORY_RESERVED2);
 
 #ifdef HAVE_GCC_DIAGNOSTIC_PRAGMA
 #pragma GCC diagnostic pop
@@ -432,7 +432,7 @@ void SDL_LogMessage(int category, SDL_LogPriority priority, SDL_PRINTF_FORMAT_ST
 #ifdef SDL_PLATFORM_ANDROID
 static const char *GetCategoryPrefix(int category)
 {
-    if (category < SDL_LOG_CATEGORY_RESERVED1) {
+    if (category < SDL_LOG_CATEGORY_RESERVED2) {
         return SDL_category_names[category];
     }
     if (category < SDL_LOG_CATEGORY_CUSTOM) {