Fixed missing variable.

This commit is contained in:
Camilla Berglund 2010-11-04 23:16:57 +01:00
parent c71ae4cc42
commit dc1bb860e7

View File

@ -514,8 +514,10 @@ void _glfwPlatformGetDesktopMode(GLFWvidmode* mode)
} }
else else
{ {
mode->width = DisplayWidth(_glfwLibrary.X11.display, screen); mode->width = DisplayWidth(_glfwLibrary.X11.display,
mode->height = DisplayHeight(_glfwLibrary.X11.display, screen); _glfwLibrary.X11.screen);
mode->height = DisplayHeight(_glfwLibrary.X11.display,
_glfwLibrary.X11.screen);
} }
} }