diff options
author | aap <aap@papnet.eu> | 2021-01-19 21:33:09 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-19 21:33:09 +0100 |
commit | bb66028e74d5a8d9e75f2448caa876ac35d4f700 (patch) | |
tree | 85ddc2e908019c9d2ca8fe83a2a4e7624d89f2ea /src/render | |
parent | wrong ifdef (diff) | |
download | re3-bb66028e74d5a8d9e75f2448caa876ac35d4f700.tar re3-bb66028e74d5a8d9e75f2448caa876ac35d4f700.tar.gz re3-bb66028e74d5a8d9e75f2448caa876ac35d4f700.tar.bz2 re3-bb66028e74d5a8d9e75f2448caa876ac35d4f700.tar.lz re3-bb66028e74d5a8d9e75f2448caa876ac35d4f700.tar.xz re3-bb66028e74d5a8d9e75f2448caa876ac35d4f700.tar.zst re3-bb66028e74d5a8d9e75f2448caa876ac35d4f700.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Sprite2d.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/render/Sprite2d.cpp b/src/render/Sprite2d.cpp index 98bb6eb2..59622516 100644 --- a/src/render/Sprite2d.cpp +++ b/src/render/Sprite2d.cpp @@ -358,7 +358,11 @@ CSprite2d::SetMaskVertices(int n, float *positions) RwIm2DVertexSetScreenZ(&maVertices[i], screenz); RwIm2DVertexSetCameraZ(&maVertices[i], z); RwIm2DVertexSetRecipCameraZ(&maVertices[i], recipz); - RwIm2DVertexSetIntRGBA(&maVertices[i], 255, 255, 255, 255); // 0, 0, 0, 0 on PC +#if !defined(GTA_PS2_STUFF) && defined(RWLIBS) + RwIm2DVertexSetIntRGBA(&maVertices[i], 0, 0, 0, 0); +#else + RwIm2DVertexSetIntRGBA(&maVertices[i], 255, 255, 255, 255); +#endif } } |