update SDL3 to 3.2.6.

This commit is contained in:
Sasha Szpakowski
2025-03-02 14:42:35 -04:00
parent 3582488fbc
commit 30709de450
407 changed files with 20390 additions and 5388 deletions
+2 -2
View File
@@ -146,7 +146,7 @@ static int loadDeviceFunctions(VulkanVideoContext *context)
#define VULKAN_DEVICE_FUNCTION(name) \
context->name = (PFN_##name)context->vkGetDeviceProcAddr(context->device, #name); \
if (!context->name) { \
return SDL_SetError("vkGetDeviceProcAddr(device, \"" #name "\") failed\n"); \
return SDL_SetError("vkGetDeviceProcAddr(device, \"" #name "\") failed"); \
}
VULKAN_FUNCTIONS()
#undef VULKAN_GLOBAL_FUNCTION
@@ -243,7 +243,7 @@ static int createInstance(VulkanVideoContext *context)
result = context->vkCreateInstance(&instanceCreateInfo, NULL, &context->instance);
if (result != VK_SUCCESS) {
context->instance = VK_NULL_HANDLE;
return SDL_SetError("vkCreateInstance(): %s\n", getVulkanResultString(result));
return SDL_SetError("vkCreateInstance(): %s", getVulkanResultString(result));
}
if (loadInstanceFunctions(context) < 0) {
return -1;