Allegro 5 api
#include <allegro5/allegro.h> int al_get_new_display_refresh_rate(void)
Get the requested refresh rate to be used when creating new displays on the calling thread.
al_set_new_display_refresh_rate(3alleg5)