Jelajahi Sumber

Add error section to glfwMaximizeWindow reference

Camilla Berglund 9 tahun lalu
induk
melakukan
f5b71f5329
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      include/GLFW/glfw3.h

+ 3 - 0
include/GLFW/glfw3.h

@@ -2296,6 +2296,9 @@ GLFWAPI void glfwRestoreWindow(GLFWwindow* window);
  *
  *  @param[in] window The window to maximize.
  *
+ *  @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref
+ *  GLFW_PLATFORM_ERROR.
+ *
  *  @par Thread Safety
  *  This function may only be called from the main thread.
  *