DOKK / manpages / debian 10 / allegro5-doc / al_get_opengl_texture_position.3alleg5.en
al_get_opengl_texture_position(3alleg5) al_get_opengl_texture_position(3alleg5)

al_get_opengl_texture_position - Allegro 5 API

#include <allegro5/allegro_opengl.h>
void al_get_opengl_texture_position(ALLEGRO_BITMAP *bitmap, int *u, int *v)
    

Returns the u/v coordinates for the top/left corner of the bitmap within the used texture, in pixels.

al_get_opengl_texture_size(3alleg5)

Allegro reference manual