mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 02:31:46 +00:00
Fix guide example callback name mismatch
The cursor position callback is named differently in example usage and example declaration. Closes #1364.
This commit is contained in:
parent
031a8f9583
commit
245461eb86
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user