Added window attribute remarks.

Fixes #485.
Related to #476.
master
Camilla Berglund ago%!(EXTRA string=10 years)
parent d95b79f9eb
commit 59abeeb097
  1. 8
      include/GLFW/glfw3.h

@ -2035,6 +2035,14 @@ GLFWAPI GLFWmonitor* glfwGetWindowMonitor(GLFWwindow* window);
* @return The value of the attribute, or zero if an * @return The value of the attribute, or zero if an
* [error](@ref error_handling) occurred. * [error](@ref error_handling) occurred.
* *
* @remarks Framebuffer related hints are not window attributes. See @ref
* window_attribs_fb for more information.
*
* @remarks Zero is a valid value for many window and context related
* attributes so you cannot use a return value of zero as an indication of
* errors. However, this function should not fail as long as it is passed
* valid arguments and the library has been [initialized](@ref intro_init).
*
* @par Thread Safety * @par Thread Safety
* This function may only be called from the main thread. * This function may only be called from the main thread.
* *

Loading…
Cancel
Save