Allegro 5 api
#include <allegro5/allegro.h> void al_reset_new_display_options(void)
This undoes any previous call to al_set_new_display_option(3alleg5) on the calling thread.