mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- Fixed crash drawing fog boundaries in the software renderer hopefully this time for real. Based on Rachael's "do a texture check when drawing fog borders" commit. Now it crashes somewhere else tough.
This commit is contained in:
parent
457dc8b5a9
commit
9ee78de8fe
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ namespace swrenderer
|
|||
auto viewport = Thread->Viewport.get();
|
||||
Clip3DFloors *clip3d = Thread->Clip3D.get();
|
||||
|
||||
if (curline->sidedef->GetTexture(side_t::mid).isNull())
|
||||
if (!curline->sidedef->GetTexture(side_t::mid).isValid())
|
||||
return false;
|
||||
|
||||
FTexture *tex = TexMan(curline->sidedef->GetTexture(side_t::mid), true);
|
||||
|
|
Loading…
Reference in a new issue