From a89ff1e43232f1edfb4e74419bbf70b53436f436 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Sat, 7 Jul 2018 08:46:29 +0200 Subject: [PATCH] Ignore depth func for autosort TR polys. This was a remain of the previous Always depth hack. --- core/rend/gles/gldraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rend/gles/gldraw.cpp b/core/rend/gles/gldraw.cpp index 801f3a7f9..dd31eff3a 100644 --- a/core/rend/gles/gldraw.cpp +++ b/core/rend/gles/gldraw.cpp @@ -610,7 +610,7 @@ void GenSorted(int first, int count) { fill_id(lst[pfsti].id,v0,v1,v2,vtx_base); lst[pfsti].pid= ppid ; - lst[pfsti].z = pp->isp.DepthMode == 7 ? 10000000.0 : minZ(vtx_base,lst[pfsti].id); + lst[pfsti].z = minZ(vtx_base,lst[pfsti].id); pfsti++; }