Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
kill C99'ism in SDL_waylandvulkan.c
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/video/wayland/SDL_waylandvulkan.c
|
@@ -39,7 +39,7 @@ |
|
|
int Wayland_Vulkan_LoadLibrary(_THIS, const char *path) |
|
|
{ |
|
|
VkExtensionProperties *extensions = NULL; |
|
|
Uint32 extensionCount = 0; |
|
|
Uint32 i, extensionCount = 0; |
|
|
SDL_bool hasSurfaceExtension = SDL_FALSE; |
|
|
SDL_bool hasWaylandSurfaceExtension = SDL_FALSE; |
|
|
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = NULL; |
|
@@ -71,7 +71,7 @@ int Wayland_Vulkan_LoadLibrary(_THIS, const char *path) |
|
|
&extensionCount); |
|
|
if(!extensions) |
|
|
goto fail; |
|
|
for(Uint32 i = 0; i < extensionCount; i++) |
|
|
for(i = 0; i < extensionCount; i++) |
|
|
{ |
|
|
if(SDL_strcmp(VK_KHR_SURFACE_EXTENSION_NAME, extensions[i].extensionName) == 0) |
|
|
hasSurfaceExtension = SDL_TRUE; |
|
|