mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-05-31 09:02:00 +00:00
- 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:
parent
bff2c8cf74
commit
2d50f535ff
3 changed files with 68 additions and 49 deletions
|
@ -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.
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue