git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12303
d7cf8633-e32d-0410-b094-
e92efae38249
case GLTEXTURETYPE_CUBEMAP:
if (glt->inputwidth != width || glt->inputheight != height || glt->inputdepth != depth)
{
- R_MakeResizeBufferBigger(width * height * depth * glt->sides * glt->bytesperpixel);
unsigned char *combinedbuffer = (unsigned char *)Mem_Alloc(tempmempool, glt->tilewidth*glt->tileheight*glt->tiledepth*glt->sides*glt->bytesperpixel);
// convert and upload each side in turn,
// from a continuous block of input texels