On Thu, 27 May 2021 at 04:17, Zebediah Figura z.figura12@gmail.com wrote:
@@ -390,6 +390,11 @@ static ULONG STDMETHODCALLTYPE d3d11_device_context_Release(ID3D11DeviceContext1
if (!refcount) {
if (context->type != D3D11_DEVICE_CONTEXT_IMMEDIATE)
{
wined3d_deferred_context_destroy(context->wined3d_context);
heap_free(context);
}} ID3D11Device2_Release(&context->device->ID3D11Device2_iface);
I missed this the first time, but you should also call d3d11_device_context_destroy() (which perhaps would more properly be called d3d11_device_context_cleanup()) here.