![]() |
![]()
| ![]() |
![]()
NAMEal_get_parent_bitmap - Allegro 5 API SYNOPSIS
DESCRIPTIONReturns the bitmap this bitmap is a sub-bitmap of. Returns NULL if this bitmap is not a sub-bitmap. This function always returns the real bitmap, and never a sub-bitmap. This might NOT match what was passed to al_create_sub_bitmap(3). Consider this code, for instance:
The assertion will pass because only a is a real bitmap, and both b and c are its sub-bitmaps. SINCE5.0.6, 5.1.2 SEE ALSOal_create_sub_bitmap(3), al_is_sub_bitmap(3)
|