mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- Fixed: The multitexture composition code was missing a NULL pointer check.
SVN r1880 (trunk)
This commit is contained in:
parent
3ff95001f5
commit
23c0f24160
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ int FMultiPatchTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int w, i
|
||||||
if (w < 0 || w > Width) w = Width;
|
if (w < 0 || w > Width) w = Width;
|
||||||
if (h < 0 || h > Height) h = Height;
|
if (h < 0 || h > Height) h = Height;
|
||||||
|
|
||||||
if (inf->op == OP_OVERWRITE)
|
if (inf != NULL && inf->op == OP_OVERWRITE)
|
||||||
{
|
{
|
||||||
bmp->Zero();
|
bmp->Zero();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue