From 2c46c3d5b7ef7b38813908b2b7edb3ebb4857124 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 2 Mar 2025 07:53:51 -0800
Subject: [PATCH] Updated dynamic API for new functions
---
src/dynapi/SDL_dynapi.sym | 4 ++++
src/dynapi/SDL_dynapi_overrides.h | 4 ++++
src/dynapi/SDL_dynapi_procs.h | 4 ++++
3 files changed, 12 insertions(+)
diff --git a/src/dynapi/SDL_dynapi.sym b/src/dynapi/SDL_dynapi.sym
index 73f34843d887b..ecf08a7d938b2 100644
--- a/src/dynapi/SDL_dynapi.sym
+++ b/src/dynapi/SDL_dynapi.sym
@@ -1234,6 +1234,10 @@ SDL3_0.0.0 {
SDL_ClickTrayEntry;
SDL_UpdateTrays;
SDL_StretchSurface;
+ SDL_SetRelativeMouseTransform;
+ SDL_RenderTexture9GridTiled;
+ SDL_SetDefaultTextureScaleMode;
+ SDL_GetDefaultTextureScaleMode;
# extra symbols go here (don't modify this line)
local: *;
};
diff --git a/src/dynapi/SDL_dynapi_overrides.h b/src/dynapi/SDL_dynapi_overrides.h
index 77fd553c471f0..2b35173adcdd3 100644
--- a/src/dynapi/SDL_dynapi_overrides.h
+++ b/src/dynapi/SDL_dynapi_overrides.h
@@ -1259,3 +1259,7 @@
#define SDL_ClickTrayEntry SDL_ClickTrayEntry_REAL
#define SDL_UpdateTrays SDL_UpdateTrays_REAL
#define SDL_StretchSurface SDL_StretchSurface_REAL
+#define SDL_SetRelativeMouseTransform SDL_SetRelativeMouseTransform_REAL
+#define SDL_RenderTexture9GridTiled SDL_RenderTexture9GridTiled_REAL
+#define SDL_SetDefaultTextureScaleMode SDL_SetDefaultTextureScaleMode_REAL
+#define SDL_GetDefaultTextureScaleMode SDL_GetDefaultTextureScaleMode_REAL
diff --git a/src/dynapi/SDL_dynapi_procs.h b/src/dynapi/SDL_dynapi_procs.h
index e86ac2a325118..6ea49ff7c9d03 100644
--- a/src/dynapi/SDL_dynapi_procs.h
+++ b/src/dynapi/SDL_dynapi_procs.h
@@ -1267,3 +1267,7 @@ SDL_DYNAPI_PROC(bool,SDL_AudioStreamDevicePaused,(SDL_AudioStream *a),(a),return
SDL_DYNAPI_PROC(void,SDL_ClickTrayEntry,(SDL_TrayEntry *a),(a),)
SDL_DYNAPI_PROC(void,SDL_UpdateTrays,(void),(),)
SDL_DYNAPI_PROC(bool,SDL_StretchSurface,(SDL_Surface *a,const SDL_Rect *b,SDL_Surface *c,const SDL_Rect *d,SDL_ScaleMode e),(a,b,c,d,e),return)
+SDL_DYNAPI_PROC(bool,SDL_SetRelativeMouseTransform,(SDL_MouseMotionTransformCallback a,void *b),(a,b),return)
+SDL_DYNAPI_PROC(bool,SDL_RenderTexture9GridTiled,(SDL_Renderer *a,SDL_Texture *b,const SDL_FRect *c,float d,float e,float f,float g,float h,const SDL_FRect *i,float j),(a,b,c,d,e,f,g,h,i,j),return)
+SDL_DYNAPI_PROC(bool,SDL_SetDefaultTextureScaleMode,(SDL_Renderer *a,SDL_ScaleMode b),(a,b),return)
+SDL_DYNAPI_PROC(bool,SDL_GetDefaultTextureScaleMode,(SDL_Renderer *a,SDL_ScaleMode *b),(a,b),return)