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);