Skip to content
Browse files

vulkan: Swapped out a free() that should have been an SDL_free().

Fixes (for real this time!) the Visual Studio builds.
  • Loading branch information
icculus committed May 20, 2019
1 parent ebbb295 commit 4bd808346ace68fbb713089ddedca89b25beedd1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/SDL_vulkan_utils.c
@@ -301,7 +301,7 @@ SDL_bool SDL_Vulkan_Display_CreateSurface(void *vkGetInstanceProcAddr_,
SDL_LogDebug(SDL_LOG_CATEGORY_VIDEO, "vulkandisplay: Display: %s Native resolution: %ux%u",
displayProperties[displayId].displayName, extent.width, extent.height);

displayProperties = NULL;

/* Get display mode properties for the chosen display */

0 comments on commit 4bd8083

Please sign in to comment.