vulkan: Swapped out a free() that should have been an SDL_free().
authorRyan C. Gordon <icculus@icculus.org>
Mon, 20 May 2019 00:41:18 -0400
changeset 12743c653e9fa9ca9
parent 12742 fb17295ab7c0
child 12744 cbd7a9f0a05e
vulkan: Swapped out a free() that should have been an SDL_free().

Fixes (for real this time!) the Visual Studio builds.
src/video/SDL_vulkan_utils.c
     1.1 --- a/src/video/SDL_vulkan_utils.c	Sun May 19 23:29:50 2019 -0400
     1.2 +++ b/src/video/SDL_vulkan_utils.c	Mon May 20 00:41:18 2019 -0400
     1.3 @@ -301,7 +301,7 @@
     1.4          SDL_LogDebug(SDL_LOG_CATEGORY_VIDEO, "vulkandisplay: Display: %s Native resolution: %ux%u",
     1.5                  displayProperties[displayId].displayName, extent.width, extent.height);
     1.6  
     1.7 -        free(displayProperties);
     1.8 +        SDL_free(displayProperties);
     1.9          displayProperties = NULL;
    1.10  
    1.11          /* Get display mode properties for the chosen display */