1al_get_opengl_variant(3)                              al_get_opengl_variant(3)
2
3
4

NAME

6       al_get_opengl_variant - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_opengl.h>
10
11              int al_get_opengl_variant(void)
12

DESCRIPTION

14       Returns  the  variant  or  type of OpenGL used on the running platform.
15       This function can be called before creating a display or setting  prop‐
16       erties for new displays.  Possible values are:
17
18       ALLEGRO_DESKTOP_OPENGL
19              Regular OpenGL as seen on desktop/laptop computers.
20
21       ALLEGRO_OPENGL_ES
22              Trimmed down version of OpenGL used on many small consumer elec‐
23              tronic devices such as handheld (and sometimes full  size)  con‐
24              soles.
25

SEE ALSO

27       al_get_opengl_version(3)
28
29
30
31Allegro reference manual                              al_get_opengl_variant(3)
Impressum