From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: palette newbie quest Date: Wed, 24 May 2000 01:54:52 +0400 Organization: MTU-Intel ISP Lines: 27 Message-ID: <392AFE2C.68251426@mtu-net.ru> References: <02tliskvru24so9ja42i87ietkvr9fqr0l AT 4ax DOT com> NNTP-Posting-Host: ppp97-231.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 959118968 78208 212.188.97.231 (23 May 2000 21:56:08 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 23 May 2000 21:56:08 GMT X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: ru,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com and define nontemporary data (PALETTE p) before first function call. :) -- Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru Damian Yerrick wrote: > > On Tue, 23 May 2000 17:59:57 GMT, "Fredrik Persson" > wrote: > > >PALETTE p; > >set_palette(p); > >screen=load_bitmap("drop.bmp",p); > > You're supposed to set the palette _after_ you load it. > > -- > Damian Yerrick > "I refuse to listen to those who refuse to listen to reason." > See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html > > This is McAfee VirusScan. Add these two lines to your signature to > prevent the spread of signature viruses. http://www.mcafee.com/