summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-28 17:40:15 +0100
committeraap <aap@papnet.eu>2021-01-28 17:40:15 +0100
commit64a4ed6db6254e9b4bcb2e2c91abb200d4406906 (patch)
tree3f99f4db6cf447ce0eb23626b26a67a79db156b1 /src/core
parentfix some little UB (diff)
downloadre3-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
Diffstat (limited to '')
-rw-r--r--src/core/main.cpp3
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)