mirror of https://github.com/libsdl-org/SDL
testffmpeg: don't free the instance extensions, we hold onto them in the context
This commit is contained in:
parent
2d4105ba8b
commit
180dd0bb39
|
@ -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…
Reference in New Issue