sdl2-compat: call SDL3_SIMDGetAlignment instead of SDL_SIMDGetAlignment

From 201f63033f584ee87be18bddfd6350395ed28274 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 10 Jan 2023 14:33:32 +0300
Subject: [PATCH] call SDL3_SIMDGetAlignment instead of SDL_SIMDGetAlignment

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

diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index a8abb89..60509af 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -3838,12 +3838,12 @@ SDL_SensorOpen(int idx)
 
 DECLSPEC void * SDLCALL SDL_SIMDAlloc(const size_t len)
 {
-    return SDL3_aligned_alloc(SDL_SIMDGetAlignment(), len);
+    return SDL3_aligned_alloc(SDL3_SIMDGetAlignment(), len);
 }
 
 DECLSPEC void * SDLCALL SDL_SIMDRealloc(void *mem, const size_t len)
 {
-    const size_t alignment = SDL_SIMDGetAlignment();
+    const size_t alignment = SDL3_SIMDGetAlignment();
     const size_t padding = (alignment - (len % alignment)) % alignment;
     Uint8 *retval = (Uint8 *)mem;
     void *oldmem = mem;