Add possible error comment

Add 'GLFW_FORMAT_UNAVAILABLE' as possible error in comment for 'glfwGetClipboardString', which can set it on wayland.
This commit is contained in:
InKryption 2021-11-22 23:32:29 +00:00 committed by GitHub
parent b55a517ae0
commit aa54048cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5764,7 +5764,7 @@ GLFWAPI int glfwGetGamepadState(int jid, GLFWgamepadstate* state);
* @param[in] window Deprecated. Any valid window or `NULL`. * @param[in] window Deprecated. Any valid window or `NULL`.
* @param[in] string A UTF-8 encoded string. * @param[in] string A UTF-8 encoded string.
* *
* @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref * @errors Possible errors include @ref GLFW_NOT_INITIALIZED, GLFW_FORMAT_UNAVAILABLE and @ref
* GLFW_PLATFORM_ERROR. * GLFW_PLATFORM_ERROR.
* *
* @pointer_lifetime The specified string is copied before this function * @pointer_lifetime The specified string is copied before this function