Map result of glfwWindowShouldClose to boolean.