Move dummy fence into renderVideo()

The workaround only seems to work with a new fence each time.
This commit is contained in:
Cameron Gutman
2024-08-30 22:42:53 -05:00
parent 8b50eea485
commit 99311403fa
2 changed files with 21 additions and 38 deletions
@@ -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;