git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3000
d7cf8633-e32d-0410-b094-
e92efae38249
s->basepixels_height = image_height;
bumppixels = NULL;bumppixels_width = 0;bumppixels_height = 0;
- if (Image_HasAlpha(s->basepixels, s->basepixels_width * s->basepixels_height, true))
+ if (Image_CheckAlpha(s->basepixels, s->basepixels_width * s->basepixels_height, true))
{
s->maskpixels = Mem_Alloc(loadmodel->mempool, s->basepixels_width * s->basepixels_height * 4);
s->maskpixels_width = s->basepixels_width;