mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-01 02:25:55 +00:00
fixed vehicle rendering bug
This commit is contained in:
parent
23f2ab5ff1
commit
398cc6bbec
|
@ -143,6 +143,7 @@ _rpMatFXD3D8AtomicMatFXEnvRender_ps2(RxD3D8InstanceData *inst, int flags, int se
|
||||||
RwD3D8SetTexture(texture, 0);
|
RwD3D8SetTexture(texture, 0);
|
||||||
else
|
else
|
||||||
RwD3D8SetTexture(nil, 0);
|
RwD3D8SetTexture(nil, 0);
|
||||||
|
RwD3D8SetPixelShader(0);
|
||||||
RwD3D8SetVertexShader(inst->vertexShader);
|
RwD3D8SetVertexShader(inst->vertexShader);
|
||||||
RwD3D8SetStreamSource(0, inst->vertexBuffer, inst->stride);
|
RwD3D8SetStreamSource(0, inst->vertexBuffer, inst->stride);
|
||||||
RwD3D8SetIndices(inst->indexBuffer, inst->baseIndex);
|
RwD3D8SetIndices(inst->indexBuffer, inst->baseIndex);
|
||||||
|
|
Loading…
Reference in a new issue