Fix synchronization issues between render and overlay update threads in DXVA2

This commit is contained in:
Cameron Gutman
2020-12-18 20:23:52 -06:00
parent 8031ed7fe1
commit 6a54fb649c
2 changed files with 62 additions and 32 deletions
@@ -53,6 +53,7 @@ private:
int m_SurfacesUsed;
AVBufferPool* m_Pool;
SDL_SpinLock m_OverlayLock;
IDirect3DVertexBuffer9* m_OverlayVertexBuffers[Overlay::OverlayMax];
IDirect3DTexture9* m_OverlayTextures[Overlay::OverlayMax];