From 09fcc9ed17a954067084856a3c04c44bc8c833bb Mon Sep 17 00:00:00 2001 From: Manuel Alfayate Corchete Date: Wed, 23 Dec 2020 16:45:23 +0100 Subject: [PATCH] [KMS/DRM][Vulkan] Fix small warning, thanks to Ozkan Sezer for spotting it. --- src/video/kmsdrm/SDL_kmsdrmvulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/kmsdrm/SDL_kmsdrmvulkan.c b/src/video/kmsdrm/SDL_kmsdrmvulkan.c index bd7f8e419..0efcdd715 100644 --- a/src/video/kmsdrm/SDL_kmsdrmvulkan.c +++ b/src/video/kmsdrm/SDL_kmsdrmvulkan.c @@ -199,7 +199,7 @@ SDL_bool KMSDRM_Vulkan_CreateSurface(_THIS, VkExtent2D image_size; VkDisplayModeKHR *display_mode = NULL; VkDisplayModePropertiesKHR display_mode_props = {0}; - VkDisplayModeParametersKHR new_mode_parameters = {0}; + VkDisplayModeParametersKHR new_mode_parameters = { {0, 0}, 0}; VkResult result; SDL_bool ret = SDL_FALSE;