sdl2-compat: SDL_UnlockTextuer: revert int/void return

From 1f59cee7bac774c5f2bc72dae3c716b1d1864fc1 Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Thu, 9 Feb 2023 20:20:22 +0100
Subject: [PATCH] SDL_UnlockTextuer: revert int/void return

---
 src/sdl2_compat.c | 6 ------
 src/sdl3_syms.h   | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index d6cbeec..0f6091f 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -4281,12 +4281,6 @@ SDL_UnionFRect(const SDL_FRect *A, const SDL_FRect *B, SDL_FRect *result)
     SDL3_GetRectUnionFloat(A, B, result);
 }
 
-DECLSPEC void SDLCALL
-SDL_UnlockTexture(SDL_Texture *texture)
-{
-    SDL3_UnlockTexture(texture);
-}
-
 DECLSPEC void SDLCALL
 SDL_RenderPresent(SDL_Renderer *renderer)
 {
diff --git a/src/sdl3_syms.h b/src/sdl3_syms.h
index 3fa255c..3b1639d 100644
--- a/src/sdl3_syms.h
+++ b/src/sdl3_syms.h
@@ -312,7 +312,7 @@ SDL3_SYM_PASSTHROUGH(int,GetTextureBlendMode,(SDL_Texture *a, SDL_BlendMode *b),
 SDL3_SYM_PASSTHROUGH(int,UpdateTexture,(SDL_Texture *a, const SDL_Rect *b, const void *c, int d),(a,b,c,d),return)
 SDL3_SYM_PASSTHROUGH(int,UpdateYUVTexture,(SDL_Texture *a, const SDL_Rect *b, const Uint8 *c, int d, const Uint8 *e, int f, const Uint8 *g, int h),(a,b,c,d,e,f,g,h),return)
 SDL3_SYM_PASSTHROUGH(int,LockTexture,(SDL_Texture *a, const SDL_Rect *b, void **c, int *d),(a,b,c,d),return)
-SDL3_SYM(int,UnlockTexture,(SDL_Texture *a),(a),return)
+SDL3_SYM_PASSTHROUGH(void,UnlockTexture,(SDL_Texture *a),(a),)
 SDL3_SYM_PASSTHROUGH(int,SetRenderTarget,(SDL_Renderer *a, SDL_Texture *b),(a,b),return)
 SDL3_SYM_PASSTHROUGH(SDL_Texture*,GetRenderTarget,(SDL_Renderer *a),(a),return)
 SDL3_SYM_RENAMED(int,RenderSetViewport,SetRenderViewport,(SDL_Renderer *a, const SDL_Rect *b),(a,b),return)