diff --git a/3rdparty/glfw/src/input.c b/3rdparty/glfw/src/input.c index 7b3b34028621..55c90be03ab2 100644 --- a/3rdparty/glfw/src/input.c +++ b/3rdparty/glfw/src/input.c @@ -348,7 +348,6 @@ void _glfwInputMouseClick(_GLFWwindow* window, int button, int action, int mods) { assert(window != NULL); assert(button >= 0); - assert(button <= GLFW_MOUSE_BUTTON_LAST); assert(action == GLFW_PRESS || action == GLFW_RELEASE); assert(mods == (mods & GLFW_MOD_MASK));