diff options
| author | hachem <im@hachem.wtf> | 2026-08-24 19:07:35 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-24 19:07:35 +0200 |
| commit | 0158611e08cebd24518b1439904905d5dacbdf35 (patch) | |
| tree | e2f16d43952fed5c30532c1f4f1fb04d4ca581d2 /src/core/window.cpp | |
| parent | a34c49f103c8950a57687ea3d866c244d95b4414 (diff) | |
[chore]: -Wall -Wextra -Werror -pedantic
Diffstat (limited to 'src/core/window.cpp')
| -rw-r--r-- | src/core/window.cpp | 6 |
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)); |
