al_get_display_mode(3alleg5)

al_get_display_mode3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro.h>
ALLEGRO_DISPLAY_MODE *al_get_display_mode(int index, ALLEGRO_DISPLAY_MODE *mode)

Overview

Retrieves a fullscreen mode. Display parameters should not be changed between a call of al_get_num_display_modes(3alleg5) and al_get_display_mode(3alleg5). index must be between 0 and the number returned from al_get_num_display_modes-1. mode must be an allocated ALLEGRO_DISPLAY_MODE structure. This function will return NULL on failure, and the mode parameter that was passed in on success.

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.