aboutsummaryrefslogtreecommitdiff
path: root/src/core/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/window.cpp')
-rw-r--r--src/core/window.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/window.cpp b/src/core/window.cpp
index 085d7bc..9a8d1ec 100644
--- a/src/core/window.cpp
+++ b/src/core/window.cpp
@@ -170,8 +170,8 @@ namespace Donut
win->m_event_handler.on_event(event);
}
- auto Window::glfw_key_callback(GLFWwindow* window, int key, int scancode,
- int action, int mods) -> void
+ auto Window::glfw_key_callback(GLFWwindow* window, int key, int /*scancode*/,
+ int action, int /*mods*/) -> void
{
Window* win = static_cast<Window*>(glfwGetWindowUserPointer(window));
@@ -203,7 +203,7 @@ namespace Donut
}
auto Window::glfw_mouse_button_callback(GLFWwindow* window, int button,
- int action, int mods) -> void
+ int action, int /*mods*/) -> void
{
Window* win = static_cast<Window*>(glfwGetWindowUserPointer(window));