1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-03 00:38:44 +00:00

fix memory corruption in d3d11_gfx_init. (#15139)

This commit is contained in:
aliaspider 2023-03-27 16:04:55 +01:00 committed by GitHub
parent 3a41738b61
commit d3fad528ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -954,6 +954,8 @@ static bool d3d11_init_swapchain(d3d11_video_t* d3d11,
d3d11->device = *cached_device;
d3d11->context = *cached_context;
d3d11->supportedFeatureLevel = cached_supportedFeatureLevel;
*cached_device = NULL;
*cached_context = NULL;
}
else
{