A global function.
A global function. This is your main routine. Everything you need to calculate and to draw should go here. It is called every frame. After ES_render() is called only the fps message is created (and finally the buffers flipped and flushed). Remember to return a value, otherwise the program will assume an error and exit.