mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-26 12:59:18 +01:00
vulkan: Swapped out a free() that should have been an SDL_free().
Fixes (for real this time!) the Visual Studio builds.
This commit is contained in:
parent
ebbb295e85
commit
4bd808346a
@ -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",
|
SDL_LogDebug(SDL_LOG_CATEGORY_VIDEO, "vulkandisplay: Display: %s Native resolution: %ux%u",
|
||||||
displayProperties[displayId].displayName, extent.width, extent.height);
|
displayProperties[displayId].displayName, extent.width, extent.height);
|
||||||
|
|
||||||
free(displayProperties);
|
SDL_free(displayProperties);
|
||||||
displayProperties = NULL;
|
displayProperties = NULL;
|
||||||
|
|
||||||
/* Get display mode properties for the chosen display */
|
/* Get display mode properties for the chosen display */
|
||||||
|
Loading…
Reference in New Issue
Block a user