fixed uninitialized nearclip

This commit is contained in:
aap 2021-01-28 17:40:15 +01:00
parent ebb615d080
commit 64a4ed6db6

View File

@ -201,6 +201,9 @@ DoRWStuffStartOfFrame(int16 TopRed, int16 TopGreen, int16 TopBlue, int16 BottomR
if(!RsCameraBeginUpdate(Scene.camera)) if(!RsCameraBeginUpdate(Scene.camera))
return false; return false;
#ifdef FIX_BUGS
CSprite2d::SetRecipNearClip();
#endif
CSprite2d::InitPerFrame(); CSprite2d::InitPerFrame();
if(Alpha != 0) if(Alpha != 0)