diff options
-rw-r--r-- | meson.build | 5 | ||||
-rw-r--r-- | src/image.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 27c8144..e1b1a38 100644 --- a/meson.build +++ b/meson.build @@ -31,6 +31,11 @@ shader_location = join_paths( '' ) +install_subdir( + 'shaders', + install_dir: data_location +) + add_project_arguments( [ '-pedantic', 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"); } |