diff options
author | erorcun <erayorcunus@gmail.com> | 2020-07-27 14:49:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-27 14:49:26 +0200 |
commit | 5d266ace648fcaf640ed50e4baf8cd4f90d64769 (patch) | |
tree | 22408706372df98a5efabc646ca4314ea6909afd /src/render | |
parent | Fix/change some Windows define (diff) | |
parent | CHeli and CRopes done (diff) | |
download | re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.gz re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.bz2 re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.lz re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.xz re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.zst re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Fluff.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Fluff.cpp b/src/render/Fluff.cpp index 4771d8a4..e4aff5c4 100644 --- a/src/render/Fluff.cpp +++ b/src/render/Fluff.cpp @@ -65,7 +65,7 @@ CPlaneTrail::Render(float visibility) RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDINVSRCALPHA); RwRenderStateSet(rwRENDERSTATETEXTURERASTER, nil); - if(RwIm3DTransform(TempBufferRenderVertices, numVerts, nil, rwIM3D_VERTEXXYZ|rwIM3D_VERTEXUV)){ + if(RwIm3DTransform(TempBufferRenderVertices, numVerts, nil, rwIM3D_VERTEXXYZ|rwIM3D_VERTEXRGBA)){ RwIm3DRenderIndexedPrimitive(rwPRIMTYPELINELIST, TrailIndices, (numVerts-1)*2); RwIm3DEnd(); } @@ -238,7 +238,7 @@ CPlaneBanner::Render(void) RwRenderStateSet(rwRENDERSTATETEXTURERASTER, RwTextureGetRaster(gpRubbishTexture[2])); #ifdef FIX_BUGS - if(RwIm3DTransform(TempBufferRenderVertices, TempBufferVerticesStored, nil, rwIM3D_VERTEXXYZ|rwIM3D_VERTEXUV)){ + if(RwIm3DTransform(TempBufferRenderVertices, TempBufferVerticesStored, nil, rwIM3D_VERTEXXYZ|rwIM3D_VERTEXUV|rwIM3D_VERTEXRGBA)){ #else if(RwIm3DTransform(TempBufferRenderVertices, TempBufferVerticesStored, nil, 0)){ #endif |