Skip to content

Commit

Permalink
Fix glfw crash on macOS for large mouse button ids (#1835)
Browse files Browse the repository at this point in the history
  • Loading branch information
smilediver authored Apr 19, 2024
1 parent d03c823 commit 547b5c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 3rdparty/glfw/src/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 547b5c0

Please sign in to comment.