v7 man page for set_color_depth

Query: set_color_depth

OS: v7

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

set_color_depth(3alleg4)					  Allegro manual					  set_color_depth(3alleg4)

NAME
set_color_depth - Sets the global pixel color depth. Allegro game programming library. SYNOPSIS
#include <allegro.h> void set_color_depth(int depth); DESCRIPTION
Sets the pixel format to be used by subsequent calls to set_gfx_mode() and create_bitmap(). Valid depths are 8 (the default), 15, 16, 24, and 32 bits. Example: set_color_depth(32); if (set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0) != 0) { abort_on_error("Couldn't set a 32 bit color resolution"); } Note that the screen color depth won't change until the next successful call to set_gfx_mode(). SEE ALSO
get_color_depth(3alleg4), set_gfx_mode(3alleg4), set_color_conversion(3alleg4), makecol(3alleg4), getr(3alleg4), desk- top_color_depth(3alleg4) Allegro version 4.4.2 set_color_depth(3alleg4)
Related Man Pages
extruec(3alleg4) - debian
set_color_depth(3alleg4) - suse
set_color_depth(3alleg4) - netbsd
set_color_depth(3alleg4) - opendarwin
set_color_depth(3alleg4) - linux
Similar Topics in the Unix Linux Community
The efficiency between GREP and SED???
Need to add prefix using sed or awk from cat the file
Sort by values in the 1st row, leaving first four coulumns untouched
Need help to compile and create python64 bit (2.7.9) on Solaris10
Cyber Dystopia Teaser (720 HD)