NikkiNikkiNikki

joined 2 years ago
[–] [email protected] 2 points 2 years ago (1 children)

That's because you need to run an event loop, your window is being created successfully, but your program immediately exits after the fact because the line directly after glfwCreateWindow is return EXIT_SUCCESS. You're probably good to follow the rest of the tutorial now

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago) (1 children)

Try doing what e0qdk suggests in this comment as it seems to be an issue with how GLFW creates windows in wayland. You're technically creating an eGL window through it and the profile version is different (egl2 is opengl4.x compatible while egl1 is opengl 3.x compatible I think?), so just remove the window calls to glfwWindowHint and see what version it tries to use by default

[–] [email protected] 1 points 2 years ago

I belive GLFW is either built X11 only, or wayland only, so they would have to check what build they're using first

[–] [email protected] 2 points 2 years ago (8 children)

It seems to have something to do with context creation, not the window, first thing I'd try to do is use a lower opengl version when creating the window and see if that works, Wayland uses EGL as far as I know, so the base compatibility will potentially be different? The error message isn't very useful either, as it's a one liner, it also could potentially be a GLFW bug itself too...

[–] [email protected] 4 points 2 years ago (1 children)

Yes, and for some odd reason a lot of folks I know who are lactose intolerant are also slightly allergic to eggs..

[–] [email protected] 7 points 2 years ago (2 children)

7 years strong here with only 1 reinstall to switch to 64 bit

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago) (2 children)

The real terminal fun comes from accidentally entering grub's rescue mode when you fuck the config up, and then having to frantically remember how to boot linux manually

[–] [email protected] 3 points 2 years ago
[–] [email protected] 5 points 2 years ago (1 children)
[–] [email protected] 8 points 2 years ago (1 children)

I already switched to Gitlab when Microsoft bought GH out. Been using it for years and have never had an issue

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago)

It only works if it's all three at once

[–] [email protected] 17 points 2 years ago (4 children)

Now I want to know what the configuration is

view more: ‹ prev next ›