aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-05 04:24:12 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-05 04:24:12 +0200
commit33118fd243ee60936f7a4090045154575d7e7330 (patch)
tree7dbf8748113445dc42b4e52625a4e268b180b322 /src
parentc8241a2424f7ba6d38eee5b4fe042cf7c8fd7df8 (diff)
Fix position being incorrect if icon loading fails
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
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");
}
}