KMSDRM_Vulkan_CreateSurface(): fixed pointer-cast warning on 32 bit

Closes: https://github.com/libsdl-org/SDL/issues/4284
main
Ozkan Sezer 2021-04-06 23:56:10 +03:00
parent 78095e3701
commit e97cfe4ad1
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ SDL_bool KMSDRM_Vulkan_CreateSurface(_THIS,
VkDisplaySurfaceCreateInfoKHR display_plane_surface_create_info;
VkExtent2D image_size;
VkDisplayModeKHR display_mode = NULL;
VkDisplayModeKHR display_mode = (VkDisplayModeKHR)0;
VkDisplayModePropertiesKHR display_mode_props = {0};
VkDisplayModeParametersKHR new_mode_parameters = { {0, 0}, 0};