From 398cc6bbec2ca16fbff7be3de0e421957ae36192 Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 22 Mar 2020 11:40:18 +0100 Subject: fixed vehicle rendering bug --- src/core/RwMatFX.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit v1.2.3