mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
The cursor position callback is named differently example usage and example declaration
This commit is contained in:
parent
2de2589f91
commit
3d5c17a917
@ -245,7 +245,7 @@ If you wish to be notified when the cursor moves over the window, set a cursor
|
||||
position callback.
|
||||
|
||||
@code
|
||||
glfwSetCursorPosCallback(window, cursor_pos_callback);
|
||||
glfwSetCursorPosCallback(window, cursor_position_callback);
|
||||
@endcode
|
||||
|
||||
The callback functions receives the cursor position, measured in screen
|
||||
|
Loading…
Reference in New Issue
Block a user