Skip to content

Commit

Permalink
Fixed rendering of wrapped midtex with sky ceiling
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 29, 2017
1 parent a670e79 commit 33213f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gl/scene/gl_walls.cpp
Expand Up @@ -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
{
Expand Down

0 comments on commit 33213f5

Please sign in to comment.