hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/window.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-24 19:07:35 +0200
committerhachem <im@hachem.wtf>2026-08-24 19:07:35 +0200
commitab9c2a73efb61a4ee553d728bbdcb84dc6ed91e6 (patch)
tree76f5233661bfc7efc99d96dec7659b83e463fb59 /src/core/window.cpp
parent5c8a5cd96ec369cdb5f61a31b4004c1f412cec09 (diff)
chore: -Wall -Wextra -Werror -pedantic
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 12fb46e..d3c1ff5 100644
--- a/src/core/window.cpp
+++ b/src/core/window.cpp
@@ -165,8 +165,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,
+ int action, int) -> void
{
Window* win = static_cast<Window*>(glfwGetWindowUserPointer(window));
@@ -198,7 +198,7 @@ namespace Donut
}
auto Window::glfw_mouse_button_callback(GLFWwindow* window, int button,
- int action, int mods) -> void
+ int action, int) -> void
{
Window* win = static_cast<Window*>(glfwGetWindowUserPointer(window));