d3d: Dirty the shader when drawing textures.

This commit is contained in:
Unknown W. Brackets 2014-09-13 20:05:41 -07:00
parent 98549aeb51
commit 003aaed9a7

View file

@ -317,6 +317,7 @@ namespace DX9 {
pD3Ddevice->SetVertexDeclaration(pFramebufferVertexDecl);
pD3Ddevice->SetPixelShader(pFramebufferPixelShader);
pD3Ddevice->SetVertexShader(pFramebufferVertexShader);
shaderManager_->DirtyLastShader();
if (tex != NULL) {
pD3Ddevice->SetTexture(0, tex);
}