iOS/buildlibs/armv7/allegro-4.4.2/addons/allegrogl/src/videovtb.c
/* allegro_gl_set_video_bitmap_color_depth(int bpp) */
/** \ingroup bitmap
 *  Sets the color depth you'd like AllegroGL to use for video bitmaps.
 *  This function lets you create video bitmaps of any color depth using
 *  allegro's create_video_bitmap(). You can create a RGBA8 bitmap and take
 *  advantage of hardware accelerated blending, no matter what the current color
 *  depth is.
 *  This call will affect all subsequent calls to create_video_bitmap().
 *
 *  Default value for the video bitmap color depth if the color depth of the
 *  screen bitmap. To revert to the default color depth, pass -1.
 *
 *  \param bpp Color depth in btis per pixel.
 *  \return The previous value of the video bitmap color depth.
 */
allegro_gl_set_video_bitmap_color_depth(int bpp)
\ingroup bitmap
Sets the color depth you'd like AllegroGL to use for video bitmaps.
This function lets you create video bitmaps of any color depth using
allegro's create_video_bitmap(). You can create a RGBA8 bitmap and take
advantage of hardware accelerated blending, no matter what the current color
depth is.
This call will affect all subsequent calls to create_video_bitmap().

Default value for the video bitmap color depth if the color depth of the
screen bitmap. To revert to the default color depth, pass -1.

\param bpp Color depth in btis per pixel.
\return The previous value of the video bitmap color depth.
allegro_gl_set_video_bitmap_color_depth ( int bpp ) \ ingroup bitmap Sets the color depth you ' d like AllegroGL to use for video bitmaps . This function lets you create video bitmaps of any color depth using allegro ' s create_video_bitmap () . You can create a RGBA8 bitmap and take advantage of hardware accelerated blending no matter what the current color depth is . This call will affect all subsequent calls to create_video_bitmap () . Default value for the video bitmap color depth if the color depth of the screen bitmap . To revert to the default color depth pass - 1 . \ param bpp Color depth in btis per pixel . \ return The previous value of the video bitmap color depth .
GLint allegro_gl_set_video_bitmap_color_depth(int bpp) {
	GLint old_val = __allegro_gl_video_bitmap_bpp;
	__allegro_gl_video_bitmap_bpp = bpp;
	return old_val;
}
GLint allegro_gl_set_video_bitmap_color_depth ( int bpp ) { GLint old_val = __allegro_gl_video_bitmap_bpp ; __allegro_gl_video_bitmap_bpp = bpp ; return old_val ; }
allegro_gl_set_video_bitmap_color_depth(int bpp)
\ingroup bitmap
  Sets the color depth you'd like AllegroGL to use for video bitmaps.
allegro_gl_set_video_bitmap_color_depth ( int bpp ) \ ingroup bitmap Sets the color depth you ' d like AllegroGL to use for video bitmaps .