فهرست منبع

Updated dynamic API for new functions

Sam Lantinga 1 ماه پیش
والد
کامیت
2c46c3d5b7
3فایلهای تغییر یافته به همراه12 افزوده شده و 0 حذف شده
  1. 4 0
      src/dynapi/SDL_dynapi.sym
  2. 4 0
      src/dynapi/SDL_dynapi_overrides.h
  3. 4 0
      src/dynapi/SDL_dynapi_procs.h

+ 4 - 0
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: *;
 };

+ 4 - 0
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

+ 4 - 0
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)