al_set_new_display_refresh_rate(3alleg5)

al_set_new_display_refresh_rate3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_set_new_display_refresh_rate(int refresh_rate)

Overview

Sets the refresh rate to use when creating new displays on the calling thread. If the refresh rate is not available, al_create_display(3alleg5) will fail. A list of modes with refresh rates can be found with al_get_num_display_modes(3alleg5) and al_get_display_mode(3alleg5).

The default setting is zero (don’t care).

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.