src/blitter/8bpp_optimized.cpp
changeset 7088 70852959cb77
parent 6978 cfe5c0990e41
child 8095 f834186120af
equal deleted inserted replaced
7087:0e076cedc6fd 7088:70852959cb77
   195 	dest_sprite->height = sprite->height;
   195 	dest_sprite->height = sprite->height;
   196 	dest_sprite->width  = sprite->width;
   196 	dest_sprite->width  = sprite->width;
   197 	dest_sprite->x_offs = sprite->x_offs;
   197 	dest_sprite->x_offs = sprite->x_offs;
   198 	dest_sprite->y_offs = sprite->y_offs;
   198 	dest_sprite->y_offs = sprite->y_offs;
   199 	memcpy(dest_sprite->data, temp_dst, index);
   199 	memcpy(dest_sprite->data, temp_dst, index);
       
   200 	free(temp_dst);
   200 
   201 
   201 	return dest_sprite;
   202 	return dest_sprite;
   202 }
   203 }