Obtenha altura da largura da janela GLFW

int width, height;
glfwGetWindowSize(window, &width, &height);
Silver Takana