Added the new Vulkan API functions to exported functions
authorSam Lantinga <slouken@libsdl.org>
Sun, 27 Aug 2017 20:41:29 -0700
changeset 11368ec36cac7a0b0
parent 11367 e8fc755a89e8
child 11369 78b2c58e31da
Added the new Vulkan API functions to exported functions
src/dynapi/SDL_dynapi_overrides.h
src/dynapi/SDL_dynapi_procs.h
     1.1 --- a/src/dynapi/SDL_dynapi_overrides.h	Sun Aug 27 23:25:12 2017 -0400
     1.2 +++ b/src/dynapi/SDL_dynapi_overrides.h	Sun Aug 27 20:41:29 2017 -0700
     1.3 @@ -629,3 +629,9 @@
     1.4  #define SDL_wcscmp SDL_wcscmp_REAL
     1.5  #define SDL_ComposeCustomBlendMode SDL_ComposeCustomBlendMode_REAL
     1.6  #define SDL_DuplicateSurface SDL_DuplicateSurface_REAL
     1.7 +#define SDL_Vulkan_LoadLibrary SDL_Vulkan_LoadLibrary_REAL
     1.8 +#define SDL_Vulkan_GetVkGetInstanceProcAddr SDL_Vulkan_GetVkGetInstanceProcAddr_REAL
     1.9 +#define SDL_Vulkan_UnloadLibrary SDL_Vulkan_UnloadLibrary_REAL
    1.10 +#define SDL_Vulkan_GetInstanceExtensions SDL_Vulkan_GetInstanceExtensions_REAL
    1.11 +#define SDL_Vulkan_CreateSurface SDL_Vulkan_CreateSurface_REAL
    1.12 +#define SDL_Vulkan_GetDrawableSize SDL_Vulkan_GetDrawableSize_REAL
     2.1 --- a/src/dynapi/SDL_dynapi_procs.h	Sun Aug 27 23:25:12 2017 -0400
     2.2 +++ b/src/dynapi/SDL_dynapi_procs.h	Sun Aug 27 20:41:29 2017 -0700
     2.3 @@ -663,3 +663,9 @@
     2.4  SDL_DYNAPI_PROC(int,SDL_wcscmp,(const wchar_t *a, const wchar_t *b),(a,b),return)
     2.5  SDL_DYNAPI_PROC(SDL_BlendMode,SDL_ComposeCustomBlendMode,(SDL_BlendFactor a, SDL_BlendFactor b, SDL_BlendOperation c, SDL_BlendFactor d, SDL_BlendFactor e, SDL_BlendOperation f),(a,b,c,d,e,f),return)
     2.6  SDL_DYNAPI_PROC(SDL_Surface*,SDL_DuplicateSurface,(SDL_Surface *a),(a),return)
     2.7 +SDL_DYNAPI_PROC(int,SDL_Vulkan_LoadLibrary,(const char *a),(a),return)
     2.8 +SDL_DYNAPI_PROC(void*,SDL_Vulkan_GetVkGetInstanceProcAddr,(void),(),return)
     2.9 +SDL_DYNAPI_PROC(void,SDL_Vulkan_UnloadLibrary,(void),(),)
    2.10 +SDL_DYNAPI_PROC(SDL_bool,SDL_Vulkan_GetInstanceExtensions,(SDL_Window *a, unsigned *b, const char **c),(a,b,c),return)
    2.11 +SDL_DYNAPI_PROC(SDL_bool,SDL_Vulkan_CreateSurface,(SDL_Window *a, VkInstance b, VkSurfaceKHR *c),(a,b,c),return)
    2.12 +SDL_DYNAPI_PROC(void,SDL_Vulkan_GetDrawableSize,(SDL_Window *a, int *b, int *c),(a,b,c),)