summaryrefslogtreecommitdiff
path: root/src
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
parentebb615d0809fbc2893a390e0d2fd78ef42924111 (diff)
fixed uninitialized nearclip
Diffstat (limited to 'src')
-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)