1al_get_opengl_texture_size(3)                    al_get_opengl_texture_size(3)
2
3
4

NAME

6       al_get_opengl_texture_size - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_opengl.h>
10
11              bool al_get_opengl_texture_size(ALLEGRO_BITMAP *bitmap, int *w, int *h)
12

DESCRIPTION

14       Retrieves  the  size  of  the texture used for the bitmap.  This can be
15       different from the bitmap size if  OpenGL  only  supports  power-of-two
16       sizes or if it is a sub-bitmap.
17
18       Returns  true  on success, false on failure.  Zero width and height are
19       returned if the bitmap is not an OpenGL bitmap.
20

SEE ALSO

22       al_get_opengl_texture_position(3)
23
24
25
26Allegro reference manual                         al_get_opengl_texture_size(3)
Impressum