From dc1bb860e7e2befaa42e79ad257818420cad21b9 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 4 Nov 2010 23:16:57 +0100 Subject: [PATCH] Fixed missing variable. --- src/x11/x11_fullscreen.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/x11/x11_fullscreen.c b/src/x11/x11_fullscreen.c index e7cb2f52..094266ed 100644 --- a/src/x11/x11_fullscreen.c +++ b/src/x11/x11_fullscreen.c @@ -514,8 +514,10 @@ void _glfwPlatformGetDesktopMode(GLFWvidmode* mode) } else { - mode->width = DisplayWidth(_glfwLibrary.X11.display, screen); - mode->height = DisplayHeight(_glfwLibrary.X11.display, screen); + mode->width = DisplayWidth(_glfwLibrary.X11.display, + _glfwLibrary.X11.screen); + mode->height = DisplayHeight(_glfwLibrary.X11.display, + _glfwLibrary.X11.screen); } }