Fix mid textures not pushed into visible surface list
This commit is contained in:
parent
f23a18352c
commit
f9b7332aed
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…
Add table
Add a link
Reference in a new issue