AlexCharlton / cl-glfw3

Common Lisp bindings to GLFW version 3.x
BSD 2-Clause "Simplified" License
89 stars 32 forks source link

Add `glfwPostEmptyEvent` function definition for CFFI #14

Closed borodust closed 8 years ago

borodust commented 8 years ago

Bump glfw minor version

glfwPostEmptyEvent function is particularly useful when used in pair with glfwWaitEvents to wake up waiting event loop. E.g. when closing window by some internal logic (while setting glfwSetWindowShouldClose) instead of waiting for any other random glfw event to come, one can just call glfwPostEmptyEvent and glfwWaitEvents will return asap.

This function was introduced in glfw 3.1, hence the minor version bump.

AlexCharlton commented 8 years ago

Looks good. Thanks @borodust !