glfw/glfw

glfwWindowHint(GLFW_DOUBLEBUFFER, GL_FALSE); on Ubuntu22.04.4's libnvidia-egl-wayland1

ggarra13 opened this issue · 0 comments

glfwWindowHint(GLFW_DOUBLEBUFFER, GL_FALSE);

on Ubuntu22.04.4 with libnvidia-egl-wayland1 returns:

EGL: Failed to create window surface: An unrecognized attribute or attribute value was passed in the attribute list

Is this an EGL limitation, an Nvidia or a GLFW bug?

If I run it without libnvidia-egl-wayland1 it works, but of course it runs under Mesa.

Find attached a patched:

triangle-opengl.c

to reproduce.

triangle-opengl.c.txt