DOKK / manpages / debian 10 / allegro4-doc / is_same_bitmap.3alleg4.en
is_same_bitmap(3alleg4) Allegro manual is_same_bitmap(3alleg4)

is_same_bitmap - Tells if two bitmaps describe the same drawing surface. Allegro game programming library.

#include <allegro.h>

int is_same_bitmap(BITMAP *bmp1, BITMAP *bmp2);

Returns TRUE if the two bitmaps describe the same drawing surface, ie. the pointers are equal, one is a sub-bitmap of the other, or they are both sub-bitmaps of a common parent.

create_sub_bitmap(3alleg4)

version 4.4.2 Allegro