z buffer fix for minecraft pipeline

This commit is contained in:
h4570
2022-08-14 18:18:41 +02:00
parent 15391a81e0
commit 03eaf726ed
3 changed files with 14 additions and 0 deletions
@@ -28,6 +28,8 @@ class RendererCoreGS {
void flipBuffers();
void enableZTests();
private:
constexpr static float gsCenter = 4096.0F;
constexpr static float screenCenter = gsCenter / 2.0F;