Force autosort TR triangles using depth func Always to be drawn on top of others
When autosorting triangles, ignore the depth of triangles using the depth func Always and force them to be on top. Seems to help Psyvariar 2.
This commit is contained in:
parent
6871061ca0
commit
a94f01ee78
|
@ -594,7 +594,7 @@ void GenSorted(int first, int count)
|
|||
{
|
||||
fill_id(lst[pfsti].id,v0,v1,v2,vtx_base);
|
||||
lst[pfsti].pid= ppid ;
|
||||
lst[pfsti].z = minZ(vtx_base,lst[pfsti].id);
|
||||
lst[pfsti].z = pp->isp.DepthMode == 7 ? 10000000.0 : minZ(vtx_base,lst[pfsti].id);
|
||||
pfsti++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue