dynapi: move new SDL_LockTextureToSurface addition to the end of file.
authorOzkan Sezer <sezeroz@gmail.com>
Tue, 01 Oct 2019 00:05:50 +0300
changeset 131002bef0dd99b8b
parent 13099 9599e2bf9e3a
child 13101 7c641e182926
dynapi: move new SDL_LockTextureToSurface addition to the end of file.
src/dynapi/SDL_dynapi_overrides.h
src/dynapi/SDL_dynapi_procs.h
     1.1 --- a/src/dynapi/SDL_dynapi_overrides.h	Mon Sep 30 20:58:44 2019 +0200
     1.2 +++ b/src/dynapi/SDL_dynapi_overrides.h	Tue Oct 01 00:05:50 2019 +0300
     1.3 @@ -315,7 +315,6 @@
     1.4  #define SDL_UpdateTexture SDL_UpdateTexture_REAL
     1.5  #define SDL_UpdateYUVTexture SDL_UpdateYUVTexture_REAL
     1.6  #define SDL_LockTexture SDL_LockTexture_REAL
     1.7 -#define SDL_LockTextureToSurface SDL_LockTextureToSurface_REAL
     1.8  #define SDL_UnlockTexture SDL_UnlockTexture_REAL
     1.9  #define SDL_RenderTargetSupported SDL_RenderTargetSupported_REAL
    1.10  #define SDL_SetRenderTarget SDL_SetRenderTarget_REAL
    1.11 @@ -727,3 +726,4 @@
    1.12  #define SDL_LoadFile SDL_LoadFile_REAL
    1.13  #define SDL_Metal_CreateView SDL_Metal_CreateView_REAL
    1.14  #define SDL_Metal_DestroyView SDL_Metal_DestroyView_REAL
    1.15 +#define SDL_LockTextureToSurface SDL_LockTextureToSurface_REAL
     2.1 --- a/src/dynapi/SDL_dynapi_procs.h	Mon Sep 30 20:58:44 2019 +0200
     2.2 +++ b/src/dynapi/SDL_dynapi_procs.h	Tue Oct 01 00:05:50 2019 +0300
     2.3 @@ -346,7 +346,6 @@
     2.4  SDL_DYNAPI_PROC(int,SDL_UpdateTexture,(SDL_Texture *a, const SDL_Rect *b, const void *c, int d),(a,b,c,d),return)
     2.5  SDL_DYNAPI_PROC(int,SDL_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)
     2.6  SDL_DYNAPI_PROC(int,SDL_LockTexture,(SDL_Texture *a, const SDL_Rect *b, void **c, int *d),(a,b,c,d),return)
     2.7 -SDL_DYNAPI_PROC(int,SDL_LockTextureToSurface,(SDL_Texture *a, const SDL_Rect *b, SDL_Surface **c),(a,b,c),return)
     2.8  SDL_DYNAPI_PROC(void,SDL_UnlockTexture,(SDL_Texture *a),(a),)
     2.9  SDL_DYNAPI_PROC(SDL_bool,SDL_RenderTargetSupported,(SDL_Renderer *a),(a),return)
    2.10  SDL_DYNAPI_PROC(int,SDL_SetRenderTarget,(SDL_Renderer *a, SDL_Texture *b),(a,b),return)
    2.11 @@ -783,3 +782,4 @@
    2.12  SDL_DYNAPI_PROC(void*,SDL_LoadFile,(const char *a, size_t *b),(a,b),return)
    2.13  SDL_DYNAPI_PROC(SDL_MetalView,SDL_Metal_CreateView,(SDL_Window *a),(a),return)
    2.14  SDL_DYNAPI_PROC(void,SDL_Metal_DestroyView,(SDL_MetalView a),(a),)
    2.15 +SDL_DYNAPI_PROC(int,SDL_LockTextureToSurface,(SDL_Texture *a, const SDL_Rect *b, SDL_Surface **c),(a,b,c),return)