vulkan: SDL_Vulkan_CreateSurface now accepts an app-provided allocator.

Fixes #3638.
This commit is contained in:
Ryan C. Gordon
2023-11-06 13:30:56 -05:00
parent c53843a961
commit 2f92807087
23 changed files with 44 additions and 20 deletions

View File

@@ -261,6 +261,7 @@ static void createSurface(void)
{
if (!SDL_Vulkan_CreateSurface(vulkanContext->window,
vulkanContext->instance,
NULL,
&vulkanContext->surface)) {
vulkanContext->surface = VK_NULL_HANDLE;
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Vulkan_CreateSurface(): %s\n", SDL_GetError());