dwm加锁并返回mat

This commit is contained in:
辉鸭蛋
2025-03-15 02:23:17 +08:00
parent 6e80999817
commit 0257d548f2
3 changed files with 66 additions and 19 deletions

View File

@@ -238,6 +238,7 @@ public class GraphicsCapture : IGameCapture
_captureSession = null!;
_captureFramePool = null!;
_captureItem = null!;
_stagingTexture?.Dispose();
_d3dDevice?.Dispose();
_hWnd = IntPtr.Zero;