1al_have_opengl_extension(3)Library Functions Manualal_have_opengl_extension(3)
2
3
4

NAME

6       al_have_opengl_extension
7

SYNOPSIS

9              #include <allegro5/allegro_opengl.h>
10
11              bool al_have_opengl_extension(const char *extension)
12

DESCRIPTION

14       This  function  is a helper to determine whether an OpenGL extension is
15       available on the given display or not.
16
17       Example:
18
19              bool packedpixels = al_have_opengl_extension("GL_EXT_packed_pixels");
20
21       If packedpixels is true then you can safely use the  constants  related
22       to the packed pixels extension.
23
24       Returns true if the extension is available; false otherwise.
25
26
27
28Allegro reference manual                           al_have_opengl_extension(3)
Impressum