mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
Fixed rendering of wrapped midtex with sky ceiling
https://forum.zdoom.org/viewtopic.php?t=58311
This commit is contained in:
parent
a670e79b8a
commit
33213f5d5d
1 changed files with 1 additions and 1 deletions
|
@ -828,7 +828,7 @@ void GLWall::DoMidTexture(seg_t * seg, bool drawfogboundary,
|
|||
back->GetTexture(sector_t::ceiling) == skyflatnum)
|
||||
{
|
||||
// intra-sky lines do not clip the texture at all if there's no upper texture
|
||||
topleft = topright = texturetop;
|
||||
topleft = topright = wrap ? 1e16f : texturetop;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue