git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10680
d7cf8633-e32d-0410-b094-
e92efae38249
mipheight >>= 1;
}
mipsize_total = ddssize - 128 - (mippixels_start - ddspixels);
mipheight >>= 1;
}
mipsize_total = ddssize - 128 - (mippixels_start - ddspixels);
+ mipsize = bytesperblock ? ((mipwidth+3)/4)*((mipheight+3)/4)*bytesperblock : mipwidth*mipheight*bytesperpixel;
// from here on, we do not need the ddspixels and ddssize any more (apart from the statistics entry in glt)
// from here on, we do not need the ddspixels and ddssize any more (apart from the statistics entry in glt)