summaryrefslogtreecommitdiff
path: root/src/image.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-31 18:24:07 +0000
committerPhil Jones <philj56@gmail.com>2021-10-31 19:31:08 +0000
commit7297ac5d9cac676ed6cd4552a6b47204f9db2512 (patch)
treeb3ebd6dd0a0ff1b5a1c2ad7ef0ebc87e28f470bd /src/image.c
parent8db0dbf823bccb2bc2ea3caee400916891b37948 (diff)
Include shaders in install.
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");
}