mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Fixed callback syntax in tutorial.
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user