2
0
Эх сурвалжийг харах

Fix guide example callback name mismatch

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

Closes #1364.
tnixeu 7 жил өмнө
parent
commit
245461eb86
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      docs/input.dox

+ 1 - 1
docs/input.dox

@@ -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