mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
parent
d95b79f9eb
commit
59abeeb097
@ -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…
Reference in New Issue
Block a user