mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 20:09:00 +00:00
fixed vehicle rendering bug
This commit is contained in:
parent
23f2ab5ff1
commit
398cc6bbec
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue