1al_get_opengl_texture_size(3L)ibrary Functions Manuaall_get_opengl_texture_size(3)
23
4
NAME
6al_get_opengl_texture_size
7
SYNOPSIS
9#include <allegro5/allegro_opengl.h>
1011
void al_get_opengl_texture_size(ALLEGRO_BITMAP *bitmap, int *w, int *h)
12
DESCRIPTION
14Retrieves the size of the texture used for the bitmap. This can be
15different from the bitmap size if OpenGL only supports power-of-two
16sizes or if it is a sub-bitmap.
1718
19
20
Allegro reference manual al_get_opengl_texture_size(3)