mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 06:41:59 +00:00
This seems to fix a Polymost rendering error in which certain polygons touching the sides of the screen would fail to render from some angles. YMMV.
git-svn-id: https://svn.eduke32.com/eduke32@6016 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7dcd59b35b
commit
396a04fe15
1 changed files with 2 additions and 1 deletions
|
@ -2374,7 +2374,8 @@ skip: ;
|
|||
|
||||
int const ni = vsp[i].n;
|
||||
|
||||
if ((vsp[i].ctag == vsp[ni].ctag) && (vsp[i].ftag == vsp[ni].ftag))
|
||||
if ((vsp[i].ctag == vsp[ni].ctag) && (vsp[i].ftag == vsp[ni].ftag) &&
|
||||
((vsp[ni].cy[1] <= vsp[i].cy[1]) || (vsp[ni].fy[1] >= vsp[i].fy[1])))
|
||||
{
|
||||
vsp[i].cy[1] = vsp[ni].cy[1];
|
||||
vsp[i].fy[1] = vsp[ni].fy[1];
|
||||
|
|
Loading…
Reference in a new issue