Added SDL_SetSurfaceScaleMode() and SDL_GetSurfaceScaleMode() to control scale mode using SDL_BlitSurfaceScaled()
This commit is contained in:
parent
4d5949dcf6
commit
84a0d5f623
7 changed files with 86 additions and 12 deletions
|
@ -963,6 +963,8 @@ SDL3_0.0.0 {
|
|||
SDL_strnstr;
|
||||
SDL_wcsnstr;
|
||||
SDL_SyncWindow;
|
||||
SDL_SetSurfaceScaleMode;
|
||||
SDL_GetSurfaceScaleMode;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
@ -988,3 +988,5 @@
|
|||
#define SDL_strnstr SDL_strnstr_REAL
|
||||
#define SDL_wcsnstr SDL_wcsnstr_REAL
|
||||
#define SDL_SyncWindow SDL_SyncWindow_REAL
|
||||
#define SDL_SetSurfaceScaleMode SDL_SetSurfaceScaleMode_REAL
|
||||
#define SDL_GetSurfaceScaleMode SDL_GetSurfaceScaleMode_REAL
|
||||
|
|
|
@ -1013,3 +1013,5 @@ SDL_DYNAPI_PROC(const char*,SDL_GetTouchDeviceName,(SDL_TouchID a),(a),return)
|
|||
SDL_DYNAPI_PROC(char*,SDL_strnstr,(const char *a, const char *b, size_t c),(a,b,c),return)
|
||||
SDL_DYNAPI_PROC(wchar_t*,SDL_wcsnstr,(const wchar_t *a, const wchar_t *b, size_t c),(a,b,c),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_SyncWindow,(SDL_Window *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_SetSurfaceScaleMode,(SDL_Surface *a, SDL_ScaleMode b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetSurfaceScaleMode,(SDL_Surface *a, SDL_ScaleMode *b),(a,b),return)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue