this post was submitted on 06 Oct 2023
0 points (50.0% liked)

C++

1996 readers
4 users here now

The center for all discussion and news regarding C++.

Rules

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 2 years ago (4 children)

Does it fail in X11 as well?

[โ€“] [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

load more comments (3 replies)