diff options
Diffstat (limited to 'src/bmp.c')
-rw-r--r-- | src/bmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -169,6 +169,9 @@ int bmp_read(struct image *img){ } free(row); + + img->state = LOADED; + return 0; } @@ -180,6 +183,7 @@ void bmp_close(struct image *img){ struct imageformat bmp = { bmp_open, + NULL, bmp_read, bmp_close }; |