Move dummy fence into renderVideo()

The workaround only seems to work with a new fence each time.
This commit is contained in:
Cameron Gutman committed 2024-08-30 22:42:53 -05:00
1 parent 8b50eea485
commit 99311403fa
2 files changed
+21 -38

No files matched your search

@@ -64,7 +64,6 @@ private:
Microsoft::WRL::ComPtr<IDXGISwapChain4> m_SwapChain;
Microsoft::WRL::ComPtr<ID3D11DeviceContext> m_DeviceContext;
Microsoft::WRL::ComPtr<ID3D11RenderTargetView> m_RenderTargetView;
Microsoft::WRL::ComPtr<ID3D11Fence> m_DecodeFence;
SupportedFenceType m_FenceType;
SDL_mutex* m_ContextLock;
bool m_BindDecoderOutputTextures;