Message-ID: <3B23FE01.B16BCFB8@home.com> From: PM X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Bitmap Colour Problem References: <3B23A619 DOT 549A245D AT home DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 30 Date: Sun, 10 Jun 2001 23:15:06 GMT NNTP-Posting-Host: 24.112.60.10 X-Complaints-To: abuse AT home DOT net X-Trace: news4.rdc1.on.home.com 992214906 24.112.60.10 (Sun, 10 Jun 2001 16:15:06 PDT) NNTP-Posting-Date: Sun, 10 Jun 2001 16:15:06 PDT Organization: Excite AT Home - The Leader in Broadband http://home.com/faster To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Great thanks very much for your help! I think I'll go with the color conversion route instead of the truecolour way cause there's gonna be some serious blitting and true colour will slow it down. Thanks again I appretiate it, Paul M. "Andrew R. Gillett" wrote: > 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/ -- Regards, Paul M. paulm14 AT home DOT com