From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: color depth in allegro Date: Sun, 15 Mar 1998 16:29:49 +0200 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 9 Message-ID: <350BE5DD.3857@cam.org> References: <350C2987 DOT 7ED62B4E AT geocities DOT com> NNTP-Posting-Host: dialup-716.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk chakster AT geocities DOT com wrote: > > Is it possible to have color depths greater than 256 with allegro? Read the docs. Basically you put set_color_depth(depth) before the mode set (where depth is 8,15,16,24 or 32). Then you use makecol(RED,GREEN,BLUE) to make the color (as in putpixel(bitmap,x,y,makecol(100,200,100)); ) -- --> http://www.cam.org/~tudor <--