set_color_depth()
tells Allegro which color depth to use the next time a
graphic mode is set or bitmap is created or loaded. It doesn't change
the color depth of the current graphic mode or existing bitmaps. You
need to be sure that all your bitmaps and/or graphic mode are in the
same color depth or Allegro will be forced to do slow color conversions
between them.