diff options
author | aap <aap@papnet.eu> | 2021-01-28 17:40:15 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-28 17:40:15 +0100 |
commit | 64a4ed6db6254e9b4bcb2e2c91abb200d4406906 (patch) | |
tree | 3f99f4db6cf447ce0eb23626b26a67a79db156b1 | |
parent | fix some little UB (diff) | |
download | re3-64a4ed6db6254e9b4bcb2e2c91abb200d4406906.tar re3-64a4ed6db6254e9b4bcb2e2c91abb200d4406906.tar.gz re3-64a4ed6db6254e9b4bcb2e2c91abb200d4406906.tar.bz2 re3-64a4ed6db6254e9b4bcb2e2c91abb200d4406906.tar.lz re3-64a4ed6db6254e9b4bcb2e2c91abb200d4406906.tar.xz re3-64a4ed6db6254e9b4bcb2e2c91abb200d4406906.tar.zst re3-64a4ed6db6254e9b4bcb2e2c91abb200d4406906.zip |
-rw-r--r-- | src/core/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index f1346fc0..66cb5635 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -201,6 +201,9 @@ DoRWStuffStartOfFrame(int16 TopRed, int16 TopGreen, int16 TopBlue, int16 BottomR if(!RsCameraBeginUpdate(Scene.camera)) return false; +#ifdef FIX_BUGS + CSprite2d::SetRecipNearClip(); +#endif CSprite2d::InitPerFrame(); if(Alpha != 0) |