Don't need that

This commit is contained in:
XANTRONIX Development 2016-07-04 20:21:58 -05:00
parent c4f9d8e593
commit 8ab853d166

View file

@ -488,47 +488,6 @@ error_snprintf_name:
return -1; return -1;
} }
int cammy_image_stripe(uint8_t *buf, size_t width, size_t height, int depth) {
cammy_tile *tiles;
int file = 0;
size_t x, y;
if ((tiles = malloc(CAMMY_SCREEN_SIZE)) == NULL) {
goto error_malloc_tiles;
}
for (x=0; x<width; x+=224) {
for (y=0; y<height; y+=CAMMY_SCREEN_HEIGHT) {
cammy_image_dither_to_tile(tiles, buf,
0, 0,
x + 32, y,
CAMMY_SCREEN_WIDTH,
CAMMY_SCREEN_HEIGHT,
CAMMY_SCREEN_WIDTH,
CAMMY_SCREEN_HEIGHT,
width,
height,
depth);
if (save_tile_to_file(tiles, CAMMY_SCREEN_WIDTH,
CAMMY_SCREEN_HEIGHT, file++) < 0) {
goto error_save_tile_to_file;
}
}
}
free(tiles);
return 0;
error_save_tile_to_file:
free(tiles);
error_malloc_tiles:
return 1;
}
int cammy_image_slice(uint8_t *buf, int cammy_image_slice(uint8_t *buf,
size_t width, size_t width,
size_t height, size_t height,