From 8ee6048d5b66aacb066fa9d56ed805979c99de56 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 21 Jan 2025 12:11:33 -0800
Subject: [PATCH] bump required build- and run-time SDL3 version to 3.2.0
---
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 ffddc06..7327b89 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,10)
+#define SDL3_REQUIRED_VER SDL_VERSIONNUM(3,2,0)
#endif
#ifndef DIRSEP
diff --git a/src/sdl3_include_wrapper.h b/src/sdl3_include_wrapper.h
index de110a6..a5a6015 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,10)
-#error You need to compile against SDL >= 3.1.10 headers
+#if !SDL_VERSION_ATLEAST(3,2,0)
+#error You need to compile against SDL >= 3.2.0 headers
#endif
#define SDL_MAIN_HANDLED 1