mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
1ce61c57c0
Make duplicator_capture_tick the sole creater, and reference adder of IDXGIOutputDuplication objects. This prevents a situation where duplicator_capture::showing cause be false while duplicator_capture::duplicator was not null at startup on background scenes, preventing IDXGIOutputDuplication from being recreated when DXGI_ERROR_ACCESS_LOST.