SDL: Set the default priority level of SDL_LOG_CATEGORY_ERROR to SDL_LOG_PRIORITY_ERROR

From 14695a714f18729ebcf5f699f236d29513a17f31 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 19 Jan 2023 08:04:40 -0800
Subject: [PATCH] Set the default priority level of SDL_LOG_CATEGORY_ERROR to
 SDL_LOG_PRIORITY_ERROR

This way SDL_LogError() will show errors by default.

Fixes https://github.com/libsdl-org/SDL/issues/7105
---
 src/SDL_log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SDL_log.c b/src/SDL_log.c
index 03049480447c..ff993bc3ea7e 100644
--- a/src/SDL_log.c
+++ b/src/SDL_log.c
@@ -41,7 +41,7 @@
 /* The size of the stack buffer to use for rendering log messages. */
 #define SDL_MAX_LOG_MESSAGE_STACK 256
 
-#define DEFAULT_PRIORITY             SDL_LOG_PRIORITY_CRITICAL
+#define DEFAULT_PRIORITY             SDL_LOG_PRIORITY_ERROR
 #define DEFAULT_ASSERT_PRIORITY      SDL_LOG_PRIORITY_WARN
 #define DEFAULT_APPLICATION_PRIORITY SDL_LOG_PRIORITY_INFO
 #define DEFAULT_TEST_PRIORITY        SDL_LOG_PRIORITY_VERBOSE