From 64a4ed6db6254e9b4bcb2e2c91abb200d4406906 Mon Sep 17 00:00:00 2001 From: aap Date: Thu, 28 Jan 2021 17:40:15 +0100 Subject: fixed uninitialized nearclip --- src/core/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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) -- cgit v1.2.3