I was using this OpenGL tutorial, and when i compile the program and execute it, it fails with the error “Failed to create context: Arguments are inconsistent” the code: https://pastebin.com/1hQJYHxe Im using Arch Linux with sway (Wayland) glxinfo output: https://pastebin.com/VXWtib2W
Does it fail in X11 as well?
I belive GLFW is either built X11 only, or wayland only, so they would have to check what build they’re using first
in X11 fails due to not being able to find a Wayland display
I think you’d need i3 instead of Sway for an X11 test.
i logged into i3 and tested it, anyway, i already solved it, the problem we’re the glfwWindowHint calls, now it works normally, thank you anyway