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 /src | |
parent | ebb615d0809fbc2893a390e0d2fd78ef42924111 (diff) |
fixed uninitialized nearclip
Diffstat (limited to 'src')
-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) |