aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-20 01:14:03 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-20 01:14:03 +0200
commit28481db82ce6ff9a4b674ae23c6150805ef5888d (patch)
tree4b74ec287538df0957e694bde5da8569abfacb6e /src/main.cpp
parent4d8328a8d5c3f92d938e92865193e3dd73d7a6ed (diff)
Update to latest mglpp
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 395b69a..9cb0ede 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -235,7 +235,7 @@ int main(int argc, char **argv) {
disable_prime_run();
}
- if(mgl_init() != 0) {
+ if(mgl_init(MGL_WINDOW_SYSTEM_X11) != 0) {
fprintf(stderr, "Error: failed to initialize mgl. Failed to either connect to the X11 server or setup opengl\n");
exit(1);
}