mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- Fixed crash rendering 3D floors without ceiling or floor textures in software.
This commit is contained in:
parent
6371fa91f9
commit
68e0e52aaf
1 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,8 @@ namespace swrenderer
|
|||
else // regular flat
|
||||
{
|
||||
auto tex = GetPalettedSWTexture(picnum, true);
|
||||
|
||||
if (tex == nullptr)
|
||||
return;
|
||||
if (!masked && !additive)
|
||||
{ // If we're not supposed to see through this plane, draw it opaque.
|
||||
alpha = OPAQUE;
|
||||
|
|
Loading…
Reference in a new issue