Updated vortice; Added try/catch around factory-Dispose

This commit is contained in:
Darth Affe 2023-09-07 23:59:38 +02:00
parent ec57728521
commit 6919cf7b60
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ public class DX11ScreenCaptureService : IScreenCaptureService
screenCapture.Dispose();
_screenCaptures.Clear();
_factory.Dispose();
try { _factory.Dispose(); } catch { /**/ }
GC.SuppressFinalize(this);

View File

@ -63,7 +63,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Vortice.Direct3D11" Version="2.4.2" />
<PackageReference Include="Vortice.Direct3D11" Version="3.2.0" />
</ItemGroup>
<ItemGroup>