From: "Andrew R. Gillett" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Bitmap Colour Problem Date: Sun, 10 Jun 2001 18:31:56 +0100 Organization: www.release-dates.co.uk Lines: 15 Message-ID: References: <3B23A619 DOT 549A245D AT home DOT com> NNTP-Posting-Host: modem-285.sphynx.dialup.pol.co.uk X-Trace: newsg2.svr.pol.co.uk 992194280 15834 217.134.121.29 (10 Jun 2001 17:31:20 GMT) NNTP-Posting-Date: 10 Jun 2001 17:31:20 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: MicroPlanet Gravity v2.30 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In comp.os.msdos.djgpp, PM wrote: > When I blit more than 1 bitmap on the screen, the colour is messed up > big time on all bitmaps except the last bitmap that I opened. That's because you're in 256 (8 bit) colour mode, and each bitmap is using a different palette. Either convert your bitmaps so that they are all using the same palette, or run your program in high/true colour mode (see set_color_depth function in Allegro documentation). -- Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage US videogame release dates at: http://www.release-dates.com/