diff options
Diffstat (limited to 'tests/main.c')
-rw-r--r-- | tests/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/main.c b/tests/main.c index 720cf06..f52e3d4 100644 --- a/tests/main.c +++ b/tests/main.c @@ -220,7 +220,7 @@ static bool clipboard_callback(const unsigned char *data, size_t size, mgl_clipb return true; } -int main(int argc, char **argv) { +int main(void) { test_hash_map(); test_utf8(); @@ -252,7 +252,7 @@ int main(int argc, char **argv) { if(mgl_texture_init(&texture) != 0) return 1; - if(mgl_texture_load_from_file(&texture, "tests/X11.jpg", &(mgl_texture_load_options){ false, false }) != 0) + if(mgl_texture_load_from_file(&texture, "tests/X11.jpg", &(mgl_texture_load_options){ .compressed = false, .pixel_coordinates = false, .mipmap = false }) != 0) return 1; if(mgl_mapped_file_load("/usr/share/fonts/TTF/Hack-Regular.ttf", &font_file, &(mgl_memory_mapped_file_load_options){ .readable = true, .writable = false }) != 0) |