mirror of https://github.com/axmolengine/axmol.git
Fix glfw crash on macOS for large mouse button ids (#1835)
This commit is contained in:
parent
d03c823573
commit
547b5c0b38
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue