Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fixed vehicle rendering bug
- Loading branch information
Showing
with
1 addition
and
0 deletions.
-
+1
−0
src/core/RwMatFX.cpp
There are no files selected for viewing
|
|
@@ -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);
|
|
|
|