mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-21 18:30:51 +00:00
Fix mid textures not pushed into visible surface list
This commit is contained in:
parent
5987b537c5
commit
2549b0fa57
1 changed files with 4 additions and 0 deletions
|
@ -1332,6 +1332,10 @@ void HWWall::DoMidTexture(HWDrawInfo *di, FRenderState& state, seg_t * seg, bool
|
|||
if (auto lightmapPtr = seg->sidedef->lightmap)
|
||||
{
|
||||
lightmap = lightmapPtr[side_t::mid];
|
||||
if (lightmap)
|
||||
{
|
||||
di->PushVisibleSurface(lightmap);
|
||||
}
|
||||
}
|
||||
|
||||
// Align the texture to the ORIGINAL sector's height!!
|
||||
|
|
Loading…
Reference in a new issue