mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
This seems to help with some polygon drawing issues in Polymost for now
git-svn-id: https://svn.eduke32.com/eduke32@7388 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b72dec2940
commit
a206a83020
1 changed files with 4 additions and 3 deletions
|
@ -3507,7 +3507,7 @@ static inline void vsp_finalize_init(int32_t const vcnt)
|
|||
}
|
||||
|
||||
#define COMBINE_STRIPS
|
||||
#define COMBINE_STRIPS_IS_STILL_BUGGED
|
||||
// #define COMBINE_STRIPS_IS_STILL_BUGGED
|
||||
|
||||
#ifdef COMBINE_STRIPS
|
||||
static inline void vsdel(int32_t const i)
|
||||
|
@ -3791,9 +3791,9 @@ skip: ;
|
|||
#ifdef COMBINE_STRIPS
|
||||
int i = vsp[0].n;
|
||||
|
||||
while (i)
|
||||
do
|
||||
{
|
||||
if ((vsp[i].cy[0] >= vsp[i].fy[0]) && (vsp[i].cy[1] >= vsp[i].fy[1]))
|
||||
if ((vsp[i].cy[0]+DOMOST_OFFSET >= vsp[i].fy[0]) && (vsp[i].cy[1]+DOMOST_OFFSET >= vsp[i].fy[1]))
|
||||
vsp[i].ctag = vsp[i].ftag = -1;
|
||||
|
||||
int const ni = vsp[i].n;
|
||||
|
@ -3810,6 +3810,7 @@ skip: ;
|
|||
}
|
||||
else i = ni;
|
||||
}
|
||||
while (i);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue