summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-26 23:41:01 +0200
committeraap <aap@papnet.eu>2020-07-27 14:06:23 +0200
commit90fdc4328b2aa9dc59fdb88115b0f308affc456f (patch)
tree22408706372df98a5efabc646ca4314ea6909afd /src/render
parentFix/change some Windows define (diff)
downloadre3-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 '')
-rw-r--r--src/render/Fluff.cpp4
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