1818
1919namespace inexor ::vulkan_renderer {
2020
21- void Application::key_callback (GLFWwindow *, int key, int , int action, int ) {
21+ void Application::key_callback (GLFWwindow * /* window */ , int key, int , int action, int /* mods */ ) {
2222 switch (action) {
2323 case GLFW_PRESS:
2424 m_input_data->press_key (key);
@@ -31,11 +31,11 @@ void Application::key_callback(GLFWwindow *, int key, int, int action, int) {
3131 }
3232}
3333
34- void Application::cursor_position_callback (GLFWwindow *, double xpos , double ypos ) {
35- m_input_data->set_cursor_pos (xpos, ypos );
34+ void Application::cursor_position_callback (GLFWwindow * /* window */ , double x_pos , double y_pos ) {
35+ m_input_data->set_cursor_pos (x_pos, y_pos );
3636}
3737
38- void Application::mouse_button_callback (GLFWwindow *, int button, int action, int ) {
38+ void Application::mouse_button_callback (GLFWwindow * /* window */ , int button, int action, int /* mods */ ) {
3939 switch (action) {
4040 case GLFW_PRESS:
4141 m_input_data->press_mouse_button (button);
@@ -48,8 +48,8 @@ void Application::mouse_button_callback(GLFWwindow *, int button, int action, in
4848 }
4949}
5050
51- void Application::mouse_scroll_callback (GLFWwindow *, double , double yoffset ) {
52- m_camera->change_zoom (static_cast <float >(yoffset ));
51+ void Application::mouse_scroll_callback (GLFWwindow * /* window */ , double /* x_offset */ , double y_offset ) {
52+ m_camera->change_zoom (static_cast <float >(y_offset ));
5353}
5454
5555void Application::load_toml_configuration_file (const std::string &file_name) {
0 commit comments