D3DState: Set the pixel shader in m_current when linking dynamically.

This commit is contained in:
Jules Blok 2014-12-13 22:09:34 +01:00
parent a2b43b21fe
commit 14792c3402

View File

@ -198,6 +198,7 @@ public:
void SetPixelShaderDynamic(ID3D11PixelShader* shader, ID3D11ClassInstance * const * classInstances, u32 classInstancesCount)
{
D3D::context->PSSetShader(shader, classInstances, classInstancesCount);
m_current.pixelShader = shader;
m_pending.pixelShader = shader;
}