context_angle: fix D3D11 device leak

Release the immediate context, which holds a reference to the device.
This commit is contained in:
Kacper Michajłow
2026-10-14 02:24:34 +02:00
parent 40c998a1ca
commit b413ad0258
+1
View File
@@ -209,6 +209,7 @@ static void d3d11_device_destroy(struct ra_ctx *ctx)
eglReleaseDeviceANGLE(p->egl_device);
p->egl_device = 0;
SAFE_RELEASE(p->d3d11_context);
SAFE_RELEASE(p->d3d11_device);
}