summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-22 11:40:18 +0100
committeraap <aap@papnet.eu>2020-03-22 11:40:18 +0100
commit398cc6bbec2ca16fbff7be3de0e421957ae36192 (patch)
tree37bed4d68e118bcaa4a8858501193bd6fabc79ab
parentMerge pull request #348 from erorcun/erorcun (diff)
downloadre3-398cc6bbec2ca16fbff7be3de0e421957ae36192.tar
re3-398cc6bbec2ca16fbff7be3de0e421957ae36192.tar.gz
re3-398cc6bbec2ca16fbff7be3de0e421957ae36192.tar.bz2
re3-398cc6bbec2ca16fbff7be3de0e421957ae36192.tar.lz
re3-398cc6bbec2ca16fbff7be3de0e421957ae36192.tar.xz
re3-398cc6bbec2ca16fbff7be3de0e421957ae36192.tar.zst
re3-398cc6bbec2ca16fbff7be3de0e421957ae36192.zip
Diffstat (limited to '')
-rw-r--r--src/core/RwMatFX.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/RwMatFX.cpp b/src/core/RwMatFX.cpp
index 5fd00c54..ca9a633b 100644
--- a/src/core/RwMatFX.cpp
+++ b/src/core/RwMatFX.cpp
@@ -143,6 +143,7 @@ _rpMatFXD3D8AtomicMatFXEnvRender_ps2(RxD3D8InstanceData *inst, int flags, int se
RwD3D8SetTexture(texture, 0);
else
RwD3D8SetTexture(nil, 0);
+ RwD3D8SetPixelShader(0);
RwD3D8SetVertexShader(inst->vertexShader);
RwD3D8SetStreamSource(0, inst->vertexBuffer, inst->stride);
RwD3D8SetIndices(inst->indexBuffer, inst->baseIndex);