- fixed and simplified the vertex counter for wall polygons.

This is now allowed to overestimate the number of vertices to reduce computation time for a rarely occuring special case that was eating most of the time and was causing errors with some walls.
This commit is contained in:
Christoph Oelckers 2018-05-31 22:14:24 +02:00
parent bff2c8cf74
commit 2d50f535ff
3 changed files with 68 additions and 49 deletions

View file

@ -1522,6 +1522,7 @@ void GLWall::Process(HWDrawInfo *di, seg_t *seg, sector_t * frontsector, sector_
}
v1 = seg->v1;
v2 = seg->v2;
flags |= GLWF_NOSPLITLOWER | GLWF_NOSPLITLOWER; // seg-splitting not needed for single segs.
}