diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-21 22:11:36 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-21 22:11:36 +0100 |
commit | e8db0e3abb52c465d842133c09ea320a820e3121 (patch) | |
tree | cf5a011373899891c6a191f024839a29d018d8fb /src/render/Sprite2d.cpp | |
parent | More fonts (diff) | |
parent | Merge remote-tracking branch 'origin/miami' into lcs (diff) | |
download | re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.gz re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.bz2 re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.lz re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.xz re3-e8db0e3abb52c465d842133c09ea320a820e3121.tar.zst re3-e8db0e3abb52c465d842133c09ea320a820e3121.zip |
Diffstat (limited to '')
-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 0cd0e8bb..92f326f8 100644 --- a/src/render/Sprite2d.cpp +++ b/src/render/Sprite2d.cpp @@ -277,7 +277,11 @@ CSprite2d::SetMaskVertices(int n, float *positions) RwIm2DVertexSetScreenZ(&maVertices[i], NearScreenZ); RwIm2DVertexSetCameraZ(&maVertices[i], NearCamZ); RwIm2DVertexSetRecipCameraZ(&maVertices[i], RecipNearClip); - 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 } } |