logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

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

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.

Name

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

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(3alleg4), is_windowed_mode(3alleg4)

Allegro                                           version 4.4.3                            get_gfx_mode(3alleg4)

Synopsis

#include<allegro.h>intget_gfx_mode();

See Also