mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-29 09:18:43 +00:00
testffmpeg: don't free the instance extensions, we hold onto them in the context
This commit is contained in:
parent
2d4105ba8b
commit
180dd0bb39
1 changed files with 0 additions and 1 deletions
|
|
@ -242,7 +242,6 @@ static int createInstance(VulkanVideoContext *context)
|
|||
context->instanceExtensionsCount = instanceCreateInfo.enabledExtensionCount;
|
||||
|
||||
result = context->vkCreateInstance(&instanceCreateInfo, NULL, &context->instance);
|
||||
SDL_free((void *)instanceExtensionsCopy);
|
||||
if (result != VK_SUCCESS) {
|
||||
context->instance = VK_NULL_HANDLE;
|
||||
return SDL_SetError("vkCreateInstance(): %s\n", getVulkanResultString(result));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue