installWindowCloseCallbackGLFW :: IORef GLFWState -> Callbacks -> IO ()
installWindowCloseCallbackGLFW ref callbacks =
  whenWindow_ ref $ \glfwWin ->
    GLFW.setWindowCloseCallback glfwWin $ Just (callbackWindowClose ref callbacks)
installWindowCloseCallbackGLFW :: IORef GLFWState -> Callbacks -> IO ()
installWindowCloseCallbackGLFW ref callbacks =
  whenWindow_ ref $ \glfwWin ->
    GLFW.setWindowCloseCallback glfwWin $ Just (callbackWindowClose ref callbacks)
installWindowCloseCallbackGLFW ref callbacks =
  whenWindow_ ref $ \glfwWin ->
    GLFW.setWindowCloseCallback glfwWin $ Just (callbackWindowClose ref callbacks)