- reworking some lower level texture code.
This commit is contained in:
parent
72835c5462
commit
9099bc8420
21 changed files with 76 additions and 61 deletions
|
|
@ -351,7 +351,7 @@ bool HWDrawInfo::DoOneSectorUpper(subsector_t * subsec, float Planez, area_t in_
|
|||
if (sec->GetPlaneTexZ(sector_t::ceiling) == Planez)
|
||||
{
|
||||
// If there's a texture abort
|
||||
FTexture * tex = TexMan.GetTexture(seg->sidedef->GetTexture(side_t::top));
|
||||
auto tex = TexMan.GetGameTexture(seg->sidedef->GetTexture(side_t::top));
|
||||
if (!tex || !tex->isValid()) continue;
|
||||
else return false;
|
||||
}
|
||||
|
|
@ -409,7 +409,7 @@ bool HWDrawInfo::DoOneSectorLower(subsector_t * subsec, float Planez, area_t in_
|
|||
if (sec->GetPlaneTexZ(sector_t::floor) == Planez)
|
||||
{
|
||||
// If there's a texture abort
|
||||
FTexture * tex = TexMan.GetTexture(seg->sidedef->GetTexture(side_t::bottom));
|
||||
auto tex = TexMan.GetGameTexture(seg->sidedef->GetTexture(side_t::bottom));
|
||||
if (!tex || !tex->isValid()) continue;
|
||||
else return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue