.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_lock_bitmap_blocked" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_lock_bitmap_blocked - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_LOCKED_REGION *al_lock_bitmap_blocked(ALLEGRO_BITMAP *bitmap, int flags) \f[R] .fi .SH DESCRIPTION .PP Like al_lock_bitmap(3alleg5), but allows locking bitmaps with a blocked pixel format (i.e.\ a format for which al_get_pixel_block_width(3alleg5) or al_get_pixel_block_height(3alleg5) do not return 1) in that format. To that end, this function also does not allow format conversion. For bitmap formats with a block size of 1, this function is identical to calling \f[V]al_lock_bitmap(bmp, al_get_bitmap_format(bmp), flags)\f[R]. .RS .PP \f[I]Note:\f[R] Currently there are no drawing functions that work when the bitmap is locked with a compressed format. al_get_pixel(3alleg5) will also not work. .RE .SH SINCE .PP 5.1.9 .SH SEE ALSO .PP al_lock_bitmap(3alleg5), al_lock_bitmap_region_blocked(3alleg5)