diff options
author | aap <aap@papnet.eu> | 2020-07-26 23:41:01 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-07-27 14:06:23 +0200 |
commit | 90fdc4328b2aa9dc59fdb88115b0f308affc456f (patch) | |
tree | 22408706372df98a5efabc646ca4314ea6909afd /src/render | |
parent | Fix/change some Windows define (diff) | |
download | re3-90fdc4328b2aa9dc59fdb88115b0f308affc456f.tar re3-90fdc4328b2aa9dc59fdb88115b0f308affc456f.tar.gz re3-90fdc4328b2aa9dc59fdb88115b0f308affc456f.tar.bz2 re3-90fdc4328b2aa9dc59fdb88115b0f308affc456f.tar.lz re3-90fdc4328b2aa9dc59fdb88115b0f308affc456f.tar.xz re3-90fdc4328b2aa9dc59fdb88115b0f308affc456f.tar.zst re3-90fdc4328b2aa9dc59fdb88115b0f308affc456f.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 |