Fixed callback syntax in tutorial.
This commit is contained in:
parent
434d0947e5
commit
c39ebfe1b8
@ -290,7 +290,7 @@ void GLFWCALL character_callback(int character, int action);
|
|||||||
|
|
||||||
@par New syntax
|
@par New syntax
|
||||||
@code
|
@code
|
||||||
void character_callback(int character);
|
void character_callback(GLFWwindow* window, int character);
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
|
|
||||||
@ -325,7 +325,7 @@ void GLFWCALL mouse_wheel_callback(int position);
|
|||||||
|
|
||||||
@par New syntax
|
@par New syntax
|
||||||
@code
|
@code
|
||||||
void scroll_callback(double xoffset, double yoffset);
|
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
@par Removed functions
|
@par Removed functions
|
||||||
|
Loading…
Reference in New Issue
Block a user