kill C99'ism in SDL_waylandvulkan.c
authorsezero <sezero@users.sourceforge.net>
Mon, 12 Feb 2018 10:00:00 +0300
changeset 11866609bef491213
parent 11865 af91d564aa40
child 11867 4e7f7e186d27
kill C99'ism in SDL_waylandvulkan.c
src/video/wayland/SDL_waylandvulkan.c
     1.1 --- a/src/video/wayland/SDL_waylandvulkan.c	Sun Feb 11 18:23:37 2018 -0800
     1.2 +++ b/src/video/wayland/SDL_waylandvulkan.c	Mon Feb 12 10:00:00 2018 +0300
     1.3 @@ -39,7 +39,7 @@
     1.4  int Wayland_Vulkan_LoadLibrary(_THIS, const char *path)
     1.5  {
     1.6      VkExtensionProperties *extensions = NULL;
     1.7 -    Uint32 extensionCount = 0;
     1.8 +    Uint32 i, extensionCount = 0;
     1.9      SDL_bool hasSurfaceExtension = SDL_FALSE;
    1.10      SDL_bool hasWaylandSurfaceExtension = SDL_FALSE;
    1.11      PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = NULL;
    1.12 @@ -71,7 +71,7 @@
    1.13          &extensionCount);
    1.14      if(!extensions)
    1.15          goto fail;
    1.16 -    for(Uint32 i = 0; i < extensionCount; i++)
    1.17 +    for(i = 0; i < extensionCount; i++)
    1.18      {
    1.19          if(SDL_strcmp(VK_KHR_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0)
    1.20              hasSurfaceExtension = SDL_TRUE;