From 10a9ed3db4fdaaa27912acf11b8d7561003c4f81 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 16 Jan 2025 23:41:50 +0300
Subject: [PATCH] bump required build- and run-time SDL3 version to 3.1.10
---
src/sdl2_compat.c | 2 +-
src/sdl3_include_wrapper.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index 219e5b4..ffddc06 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -318,7 +318,7 @@ static char loaderror[256];
#endif
#ifndef SDL3_REQUIRED_VER
-#define SDL3_REQUIRED_VER SDL_VERSIONNUM(3,1,8)
+#define SDL3_REQUIRED_VER SDL_VERSIONNUM(3,1,10)
#endif
#ifndef DIRSEP
diff --git a/src/sdl3_include_wrapper.h b/src/sdl3_include_wrapper.h
index 91c7357..de110a6 100644
--- a/src/sdl3_include_wrapper.h
+++ b/src/sdl3_include_wrapper.h
@@ -1271,8 +1271,8 @@
#define __BUILDING_SDL2_COMPAT__ 1
#include <SDL3/SDL.h>
-#if !SDL_VERSION_ATLEAST(3,1,9)
-#error You need to compile against SDL >= 3.1.9 headers
+#if !SDL_VERSION_ATLEAST(3,1,10)
+#error You need to compile against SDL >= 3.1.10 headers
#endif
#define SDL_MAIN_HANDLED 1