From 33118fd243ee60936f7a4090045154575d7e7330 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 5 Aug 2024 04:24:12 +0200 Subject: Fix position being incorrect if icon loading fails --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index b9e81a9..19d75a0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -228,8 +228,7 @@ int main(int argc, char **argv) { mgl::Texture logo_texture; if(icon_filepath) { if(!logo_texture.load_from_file(icon_filepath, {false, false, true})) { - fprintf(stderr, "error: failed to load icon\n"); - return 1; + fprintf(stderr, "Warning: failed to load icon\n"); } } -- cgit v1.2.3