diff options
Diffstat (limited to 'libgui/bmp.c')
-rw-r--r-- | libgui/bmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgui/bmp.c b/libgui/bmp.c index 25745a7..3097e99 100644 --- a/libgui/bmp.c +++ b/libgui/bmp.c @@ -16,6 +16,7 @@ struct bmp *bmp_load(const char *path) if (h->signature[0] != 'B' || h->signature[1] != 'M') return NULL; + // TODO: Support padding with odd widths struct bmp_info *info = (struct bmp_info *)((u32)buf + sizeof(*h)); struct bmp *bmp = malloc(sizeof(*bmp)); bmp->width = info->width; |