.\" Generated by the Allegro makedoc utility .TH get_gfx_mode 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME get_gfx_mode \- Returns the id of the current graphics driver. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int get_gfx_mode(); .SH 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. .SH "RETURN VALUE" Returns the id of the current graphics driver if there is one, or GFX_NONE if none is set. .SH SEE ALSO .BR set_gfx_mode (3alleg4), .BR is_windowed_mode (3alleg4)