Update glfw

This commit is contained in:
Kovid Goyal
2017-12-01 10:13:32 +05:30
parent 08ee77d11c
commit b4509e341a
3 changed files with 9 additions and 12 deletions

3
glfw/x11_monitor.c vendored
View File

@@ -203,8 +203,7 @@ void _glfwPollMonitorsX11(void)
free(disconnected);
}
if (!_glfw.monitorCount)
else
{
const int widthMM = DisplayWidthMM(_glfw.x11.display, _glfw.x11.screen);
const int heightMM = DisplayHeightMM(_glfw.x11.display, _glfw.x11.screen);