From 553e326d64c93792ca7ef2a8c843464e5563e031 Mon Sep 17 00:00:00 2001 From: Raja Date: Sun, 19 Nov 2017 22:44:00 -0500 Subject: [PATCH] Fix glfwGetPenPressure in input.c --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.c b/src/input.c index e3cfed46e..098ce24eb 100644 --- a/src/input.c +++ b/src/input.c @@ -525,7 +525,7 @@ GLFWAPI int glfwGetMouseButton(GLFWwindow* handle, int button) /***************************PEN**************************************************/ -GLFWAPI int glfwGetPenPressure(GLFWwindow* handle) +GLFWAPI double glfwGetPenPressure(GLFWwindow* handle) { _GLFWwindow* window = (_GLFWwindow*)handle; assert(window != NULL);