fix null data copy

SVN revision: 17127
This commit is contained in:
Carsten Haitzler 2005-10-03 07:52:23 +00:00
parent d022e996e6
commit 884e03d762
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ _xre_image_new_from_copied_data(Ximage_Info *xinf, int w, int h, void *data)
im->xinf->references++;
im->free_data = 1;
if (data)
{
Gfx_Func_Blend_Src_Dst func;