al_get_monitor_refresh_rate(3alleg5) | al_get_monitor_refresh_rate(3alleg5) |
al_get_monitor_refresh_rate - Allegro 5 API
#include <allegro5/allegro.h> int al_get_monitor_refresh_rate(int adapter)
Returns the current refresh rate of a monitor attached to the display adapter.
5.2.6
[Unstable API]: This is an experimental feature and currently only works on Windows.
al_get_monitor_info(3alleg5)
Allegro reference manual |