vulkan: use "unsigned int" instead of "unsigned"
authorRyan C. Gordon <icculus@icculus.org>
Wed, 06 Sep 2017 19:35:36 -0400
changeset 11463b716f3d736a7
parent 11462 dc5698982bac
child 11464 5af6d801e51f
vulkan: use "unsigned int" instead of "unsigned"
include/SDL_vulkan.h
src/dynapi/SDL_dynapi_procs.h
     1.1 --- a/include/SDL_vulkan.h	Wed Sep 06 19:34:23 2017 -0400
     1.2 +++ b/include/SDL_vulkan.h	Wed Sep 06 19:35:36 2017 -0400
     1.3 @@ -150,7 +150,7 @@
     1.4   *  \note \c window should have been created with the \c SDL_WINDOW_VULKAN flag.
     1.5   *
     1.6   *  \code
     1.7 - *  unsigned count;
     1.8 + *  unsigned int count;
     1.9   *  // get count of required extensions
    1.10   *  if(!SDL_Vulkan_GetInstanceExtensions(window, &count, NULL))
    1.11   *      handle_error();
    1.12 @@ -188,7 +188,7 @@
    1.13   */
    1.14  extern DECLSPEC SDL_bool SDLCALL SDL_Vulkan_GetInstanceExtensions(
    1.15  														SDL_Window *window,
    1.16 -														unsigned *pCount,
    1.17 +														unsigned int *pCount,
    1.18  														const char **pNames);
    1.19  
    1.20  /**
     2.1 --- a/src/dynapi/SDL_dynapi_procs.h	Wed Sep 06 19:34:23 2017 -0400
     2.2 +++ b/src/dynapi/SDL_dynapi_procs.h	Wed Sep 06 19:35:36 2017 -0400
     2.3 @@ -666,6 +666,6 @@
     2.4  SDL_DYNAPI_PROC(int,SDL_Vulkan_LoadLibrary,(const char *a),(a),return)
     2.5  SDL_DYNAPI_PROC(void*,SDL_Vulkan_GetVkGetInstanceProcAddr,(void),(),return)
     2.6  SDL_DYNAPI_PROC(void,SDL_Vulkan_UnloadLibrary,(void),(),)
     2.7 -SDL_DYNAPI_PROC(SDL_bool,SDL_Vulkan_GetInstanceExtensions,(SDL_Window *a, unsigned *b, const char **c),(a,b,c),return)
     2.8 +SDL_DYNAPI_PROC(SDL_bool,SDL_Vulkan_GetInstanceExtensions,(SDL_Window *a, unsigned int *b, const char **c),(a,b,c),return)
     2.9  SDL_DYNAPI_PROC(SDL_bool,SDL_Vulkan_CreateSurface,(SDL_Window *a, VkInstance b, VkSurfaceKHR *c),(a,b,c),return)
    2.10  SDL_DYNAPI_PROC(void,SDL_Vulkan_GetDrawableSize,(SDL_Window *a, int *b, int *c),(a,b,c),)