git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10848
d7cf8633-e32d-0410-b094-
e92efae38249
int bx2 = blockx + blockwidth;
int by2 = blocky + blockheight;
int bw;
int bx2 = blockx + blockwidth;
int by2 = blocky + blockheight;
int bw;
int x;
int y;
unsigned char *inpixels;
int x;
int y;
unsigned char *inpixels;
if (bx2 > dpsoftrast.fb_width) bx2 = dpsoftrast.fb_width;
if (by2 > dpsoftrast.fb_height) by2 = dpsoftrast.fb_height;
bw = bx2 - bx1;
if (bx2 > dpsoftrast.fb_width) bx2 = dpsoftrast.fb_width;
if (by2 > dpsoftrast.fb_height) by2 = dpsoftrast.fb_height;
bw = bx2 - bx1;
inpixels = (unsigned char *)dpsoftrast.fb_colorpixels[0];
if (dpsoftrast.bigendian)
{
inpixels = (unsigned char *)dpsoftrast.fb_colorpixels[0];
if (dpsoftrast.bigendian)
{