diff --git a/lib/graphicsdev/D3D11.cpp b/lib/graphicsdev/D3D11.cpp index d6ae49c..eb70f85 100644 --- a/lib/graphicsdev/D3D11.cpp +++ b/lib/graphicsdev/D3D11.cpp @@ -660,6 +660,7 @@ struct D3D11ShaderDataBinding : IShaderDataBinding if (m_ubufFirstConsts) { ID3D11Buffer* constBufs[8] = {}; + ctx->VSSetConstantBuffers(0, m_ubufCount, constBufs); for (int i=0 ; i<8 && iPSSetConstantBuffers(0, m_ubufCount, constBufs); for (int i=0 ; i<8 && i