summaryrefslogtreecommitdiff
path: root/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c
index e05353c..5e8c511 100644
--- a/src/image.c
+++ b/src/image.c
@@ -11,6 +11,7 @@
void image_load(struct image *image, const char *filename)
{
+ log_debug("Loading image %s\n", filename);
FILE *fp = fopen(filename, "rb");
uint8_t header[HEADER_BYTES];
if (!fp) {
@@ -91,4 +92,5 @@ void image_load(struct image *image, const char *filename)
image->width = width;
image->height = height;
image->buffer = buffer;
+ log_debug("Image loaded.\n");
}