mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
D3DState: Set the pixel shader in m_current when linking dynamically.
This commit is contained in:
@ -198,6 +198,7 @@ public:
|
|||||||
void SetPixelShaderDynamic(ID3D11PixelShader* shader, ID3D11ClassInstance * const * classInstances, u32 classInstancesCount)
|
void SetPixelShaderDynamic(ID3D11PixelShader* shader, ID3D11ClassInstance * const * classInstances, u32 classInstancesCount)
|
||||||
{
|
{
|
||||||
D3D::context->PSSetShader(shader, classInstances, classInstancesCount);
|
D3D::context->PSSetShader(shader, classInstances, classInstancesCount);
|
||||||
|
m_current.pixelShader = shader;
|
||||||
m_pending.pixelShader = shader;
|
m_pending.pixelShader = shader;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user