1al_convert_memory_bitmaps(3)                      al_convert_memory_bitmaps(3)
2
3
4

NAME

6       al_convert_memory_bitmaps - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_convert_memory_bitmaps(void)
12

DESCRIPTION

14       If  you  create  a bitmap when there is no current display (for example
15       because you have not called al_create_display(3) in the current thread)
16       and  are  using the ALLEGRO_CONVERT_BITMAP bitmap flag (which is set by
17       default) then the bitmap will be created successfully, but as a  memory
18       bitmap.   This  function converts all such bitmaps to proper video bit‐
19       maps belonging to the current display.
20
21       Note that video bitmaps get automatically converted back to memory bit‐
22       maps when the last display is destroyed.
23
24       This operation will preserve all bitmap flags except ALLEGRO_VIDEO_BIT‐
25       MAP and ALLEGRO_MEMORY_BITMAP.
26

SINCE

28       5.2.0
29

SEE ALSO

31       al_convert_bitmap(3), al_create_bitmap(3)
32
33
34
35Allegro reference manual                          al_convert_memory_bitmaps(3)
Impressum