From b2ae101fe1eb9d23aff6b383d458f16738daed50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Co=C5=9Fku=20Ba=C5=9F?= Date: Sun, 5 Aug 2018 21:45:43 +0300 Subject: [PATCH 1/2] Fix content scale callback func name --- docs/news.dox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/news.dox b/docs/news.dox index 2d043adeb..34adf5be9 100644 --- a/docs/news.dox +++ b/docs/news.dox @@ -71,7 +71,7 @@ between the current DPI and the platform's default DPI, with @ref glfwGetWindowContentScale and @ref glfwGetMonitorContentScale. Changes of the content scale of a window can be received with the window content -scale callback, set with @ref glfwSetWindowCloseCallback. +scale callback, set with @ref glfwSetWindowContentScaleCallback. @see @ref window_scale From cf4f85b48cab538fcbd06c2e77912b9b06ea2e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Co=C5=9Fku=20Ba=C5=9F?= Date: Mon, 6 Aug 2018 18:13:24 +0300 Subject: [PATCH 2/2] Accidentally a word --- include/GLFW/glfw3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 990fe3f7f..30ec2978f 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -4011,8 +4011,8 @@ GLFWAPI int glfwGetKey(GLFWwindow* window, int key); * `GLFW_RELEASE`. * * If the @ref GLFW_STICKY_MOUSE_BUTTONS input mode is enabled, this function - * `GLFW_PRESS` the first time you call it for a mouse button that was pressed, - * even if that mouse button has already been released. + * returns `GLFW_PRESS` the first time you call it for a mouse button that was + * pressed, even if that mouse button has already been released. * * @param[in] window The desired window. * @param[in] button The desired [mouse button](@ref buttons).