From aa54048cf9fd6c68304bda7c12423c29b37694ac Mon Sep 17 00:00:00 2001 From: InKryption <59504965+InKryption@users.noreply.github.com> Date: Mon, 22 Nov 2021 23:32:29 +0000 Subject: [PATCH] Add possible error comment Add 'GLFW_FORMAT_UNAVAILABLE' as possible error in comment for 'glfwGetClipboardString', which can set it on wayland. --- include/GLFW/glfw3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 751615eb8..ca166a34e 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -5764,7 +5764,7 @@ GLFWAPI int glfwGetGamepadState(int jid, GLFWgamepadstate* state); * @param[in] window Deprecated. Any valid window or `NULL`. * @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. * * @pointer_lifetime The specified string is copied before this function