It is a platform error.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent 5999a40aaa
commit 0544afeb06
  1. 3
      src/x11_fullscreen.c

@ -334,7 +334,8 @@ int _glfwPlatformGetVideoModes(GLFWvidmode* list, int maxcount)
vislist = XGetVisualInfo(_glfwLibrary.X11.display, 0, &dummy, &viscount);
if (vislist == NULL)
{
// TODO: Figure out which error this is
_glfwSetError(GLFW_PLATFORM_ERROR,
"X11/GLX: Failed to retrieve the available visuals");
return 0;
}

Loading…
Cancel
Save