get_gfx_mode(3alleg4)

get_gfx_mode3alleg4

Returns the id of the current graphics driver. allegro game programming library.

Usage

#include <allegro.h>

int get_gfx_mode();

Overview

This function will let you determine which graphics driver is currently set by allegro. If no graphics driver is set, it will return GFX_NONE.

Return value

Returns the id of the current graphics driver if there is one, or GFX_NONE if none is set.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.