fix: Build error on some platforms due to unused variables
This commit is contained in:
parent
0e97914d94
commit
b4a810c374
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user