From 0544afeb06fbfcfc87a3c344742b79c7d9d28403 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 26 Sep 2011 15:40:18 +0200 Subject: [PATCH] It is a platform error. --- src/x11_fullscreen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/x11_fullscreen.c b/src/x11_fullscreen.c index 7eead3a3..bb0a3d53 100644 --- a/src/x11_fullscreen.c +++ b/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; }