get_gfx_mode man page

get_gfx_mode — Returns the id of the current graphics driver. Allegro game programming library.

Synopsis

#include <allegro.h>

int get_gfx_mode();

Description

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.

See Also

set_gfx_mode(3), is_windowed_mode(3)

Referenced By

get_gfx_mode_type(3).

version 4.4.2 Allegro Allegro manual