This commit is contained in:
khanhduytran0 2020-10-28 05:41:37 +07:00
parent 279bc726fc
commit 26f2eeefab

View File

@ -144,9 +144,9 @@ void addInputToQueue(struct GLFWInputEvent event) {
// TODO merge other defines to // TODO merge other defines to
#define ADD_TRIGGER_WWIN(NAME, VALUE) \ #define ADD_TRIGGER_WWIN(NAME, VALUE) \
void trigger##NAME##(struct GLFWInputEvent event) { \ void trigger##NAME(struct GLFWInputEvent event) { \
if (GLFW_invoke_##NAME##) { \ if (GLFW_invoke_##NAME) { \
GLFW_invoke_##NAME##(##VALUES##); \ GLFW_invoke_##NAME(VALUES); \
} \ } \
} }