mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +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:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user