- Fixed: The multitexture composition code was missing a NULL pointer check.

SVN r1880 (trunk)
This commit is contained in:
Christoph Oelckers 2009-09-26 22:28:55 +00:00
parent 3ff95001f5
commit 23c0f24160

View file

@ -550,7 +550,7 @@ int FMultiPatchTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int w, i
if (w < 0 || w > Width) w = Width;
if (h < 0 || h > Height) h = Height;
if (inf->op == OP_OVERWRITE)
if (inf != NULL && inf->op == OP_OVERWRITE)
{
bmp->Zero();
}