The cursor position callback is named differently example usage and example declaration

This commit is contained in:
tnixeu 2018-10-22 20:46:40 +02:00
parent 2de2589f91
commit 3d5c17a917

View File

@ -245,7 +245,7 @@ If you wish to be notified when the cursor moves over the window, set a cursor
position callback. position callback.
@code @code
glfwSetCursorPosCallback(window, cursor_pos_callback); glfwSetCursorPosCallback(window, cursor_position_callback);
@endcode @endcode
The callback functions receives the cursor position, measured in screen The callback functions receives the cursor position, measured in screen