10 #include <GLFW/glfw3.h> static void dispatch(int error, const char *description)
Dispatches the member function.
This class wraps a GLFW error callback.
Generic namespace for the SimpleGL framework.
static void setErrorCallback(ErrorCallback *callback)
Set the error callback.
static void setCurrent(ErrorCallback *callback)
Sets the current error callback.
static void terminate()
Terminates GLFW, this should only be called at the end of the application.
static void pollEvents()
Polls the events and calls the registered callbacks.