D3DState: Set the pixel shader in m_current when linking dynamically.
This commit is contained in:
parent
a2b43b21fe
commit
14792c3402
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue