is_same_bitmap(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

NAME πŸ¦‹

okay bestie, is_same_bitmap β€” it tells you if two bitmaps describe the same drawing surface. also this whole thing is from the Allegro game programming library. periodt.

SYNOPSIS ✨

#include <allegro.h>

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

DESCRIPTION πŸ’…

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.

no cap, that's the whole vibe check: same surface means you get TRUE.

SEE ALSO πŸŽ€


this was the Allegro manual, version 4.4.3, for is_same_bitmap(3) β€” mwah, bye bestie πŸ’–

πŸ“¦ where this page comes from