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
commit0158611e08cebd24518b1439904905d5dacbdf35 (patch)
treee2f16d43952fed5c30532c1f4f1fb04d4ca581d2 /src/core/window.cpp
parenta34c49f103c8950a57687ea3d866c244d95b4414 (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 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));