From d778b26dd181ed959c362eb89e74fc14167cf077 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 19 May 2019 20:25:02 -0400 Subject: [PATCH] Patched to compile in C89 mode. --- src/video/SDL_vulkan_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_vulkan_utils.c b/src/video/SDL_vulkan_utils.c index b7750ffb5..28a545377 100644 --- a/src/video/SDL_vulkan_utils.c +++ b/src/video/SDL_vulkan_utils.c @@ -467,7 +467,7 @@ SDL_bool SDL_Vulkan_Display_CreateSurface(void *vkGetInstanceProcAddr_, /* Find a supported alpha mode. Not all planes support OPAQUE */ createInfo.alphaMode = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR; - for (uint32_t i = 0; i < SDL_arraysize(alphaModes); i++) { + for (i = 0; i < SDL_arraysize(alphaModes); i++) { if (planeCaps.supportedAlpha & alphaModes[i]) { createInfo.alphaMode = alphaModes[i]; break;