1al_lock_bitmap_blocked(3)                            al_lock_bitmap_blocked(3)
2
3
4

NAME

6       al_lock_bitmap_blocked - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              ALLEGRO_LOCKED_REGION *al_lock_bitmap_blocked(ALLEGRO_BITMAP *bitmap,
12                 int flags)
13

DESCRIPTION

15       Like al_lock_bitmap(3), but allows locking bitmaps with a blocked pixel
16       format  (i.e. a  format  for   which   al_get_pixel_block_width(3)   or
17       al_get_pixel_block_height(3)  do not return 1) in that format.  To that
18       end, this function also does not allow format conversion.   For  bitmap
19       formats  with  a block size of 1, this function is identical to calling
20       al_lock_bitmap(bmp, al_get_bitmap_format(bmp), flags).
21
22              Note: Currently there are no drawing functions  that  work  when
23              the  bitmap is locked with a compressed format.  al_get_pixel(3)
24              will also not work.
25

SINCE

27       5.1.9
28

SEE ALSO

30       al_lock_bitmap(3), al_lock_bitmap_region_blocked(3)
31
32
33
34Allegro reference manual                             al_lock_bitmap_blocked(3)
Impressum