Add placeholder black color for picture thumbnails (for now)
This commit is contained in:
parent
3d733399c6
commit
af77bf7f9a
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ void cammy_photo_export(cammy_photo *src,
|
||||||
}
|
}
|
||||||
|
|
||||||
void cammy_photo_import(cammy_photo *dest, uint8_t *src, int depth) {
|
void cammy_photo_import(cammy_photo *dest, uint8_t *src, int depth) {
|
||||||
|
memset(&dest->thumb, '\xff', sizeof(dest->thumb));
|
||||||
|
|
||||||
cammy_image_dither_to_tile((cammy_tile *)&dest->tiles,
|
cammy_image_dither_to_tile((cammy_tile *)&dest->tiles,
|
||||||
src,
|
src,
|
||||||
CAMMY_PHOTO_WIDTH,
|
CAMMY_PHOTO_WIDTH,
|
||||||
|
|
Loading…
Add table
Reference in a new issue