From b3e466afed66113df6bd9054ca19e6e716115f0b Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Mon, 30 Mar 2020 18:48:06 +0200 Subject: [PATCH] sort triangles even with 1 poly fixes missing Naomi boot logo and vtennis2 black frame during replay --- core/rend/sorter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rend/sorter.cpp b/core/rend/sorter.cpp index ea122caa5..c4999d662 100644 --- a/core/rend/sorter.cpp +++ b/core/rend/sorter.cpp @@ -208,7 +208,7 @@ void GenSorted(int first, int count, vector& pidx_sort, vecto pidx_sort.clear(); - if (pvrrc.verts.used() == 0 || count <= 1) + if (pvrrc.verts.used() == 0) return; const Vertex *vtx_base = pvrrc.verts.head();