Only bind the constant buffer once

This commit is contained in:
Cameron Gutman 2022-02-05 14:15:35 -06:00
commit 1942e72474
3 changed files with 9 additions and 12 deletions

View file

@ -52,7 +52,6 @@ private:
ID3D11PixelShader* m_VideoPixelShader;
ID3D11Buffer* m_VideoVertexBuffer;
ID3D11Buffer* m_VideoConstantBuffer;
SDL_SpinLock m_OverlayLock;
ID3D11Buffer* m_OverlayVertexBuffers[Overlay::OverlayMax];