Fix glfw crash on macOS for large mouse button ids (#1835)

This commit is contained in:
smilediver 2024-04-19 04:26:54 +03:00 committed by GitHub
parent d03c823573
commit 547b5c0b38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -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));