1
0
mirror of synced 2025-01-19 01:24:15 +01:00

fix: Build error on some platforms due to unused variables

This commit is contained in:
WerWolv 2024-05-30 21:49:01 +02:00
parent 0e97914d94
commit b4a810c374

View File

@ -819,7 +819,7 @@ namespace hex {
});
// Register window resize callback
glfwSetWindowSizeCallback(m_window, [](GLFWwindow *window, int width, int height) {
glfwSetWindowSizeCallback(m_window, [](GLFWwindow *window, [[maybe_unused]] int width, [[maybe_unused]] int height) {
auto win = static_cast<Window *>(glfwGetWindowUserPointer(window));
win->m_unlockFrameRate = true;