mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-01 12:50:42 +00:00
- Fixed: Must not try to draw null flats in the textured automap.
SVN r3333 (trunk)
This commit is contained in:
parent
7279e2ad62
commit
8e636b8abf
1 changed files with 13 additions and 9 deletions
|
@ -1728,6 +1728,9 @@ void AM_drawSubsectors()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw the polygon.
|
// Draw the polygon.
|
||||||
|
FTexture *pic = TexMan(maptex);
|
||||||
|
if (pic != NULL && pic->UseType != FTexture::TEX_Null)
|
||||||
|
{
|
||||||
screen->FillSimplePoly(TexMan(maptex),
|
screen->FillSimplePoly(TexMan(maptex),
|
||||||
&points[0], points.Size(),
|
&points[0], points.Size(),
|
||||||
originx, originy,
|
originx, originy,
|
||||||
|
@ -1739,6 +1742,7 @@ void AM_drawSubsectors()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue