Update to latest mglpp

This commit is contained in:
dec05eba
2025-04-20 01:14:03 +02:00
parent 4d8328a8d5
commit 28481db82c
7 changed files with 37 additions and 28 deletions

View File

@@ -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);
}