aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-16 19:52:21 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-16 19:52:21 +0200
commitb80777386e7967a5462152d5590be2efc1bfb58d (patch)
treef36ac4bdbc70e615f78354463559f59d86f0395d /tests
parentc1fbd9de2a6d873799428300b11db058eb8f6000 (diff)
Move test image to test directory
Diffstat (limited to 'tests')
-rw-r--r--tests/X11.pngbin0 -> 8173 bytes
-rw-r--r--tests/main.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/X11.png b/tests/X11.png
new file mode 100644
index 0000000..05aad82
--- /dev/null
+++ b/tests/X11.png
Binary files differ
diff --git a/tests/main.c b/tests/main.c
index be7fcdd..5e21932 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -53,7 +53,7 @@ int main(int argc, char **argv) {
if(mgl_window_create(&window, "mgl", 1280, 720, &window_callback) != 0)
return 1;
- if(mgl_texture_load_from_file(&texture, "X11.png", NULL) != 0)
+ if(mgl_texture_load_from_file(&texture, "tests/X11.png", NULL) != 0)
return 1;
if(mgl_font_load_from_file(&font, "/usr/share/fonts/noto/NotoSans-Regular.ttf", 32) != 0)