From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: palette still dont work... =( Date: Thu, 25 May 2000 11:33:33 +0400 Organization: MTU-Intel ISP Lines: 26 Message-ID: <392CD74D.4E351021@mtu-net.ru> References: NNTP-Posting-Host: ppp103-96.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 959239999 93046 212.188.103.96 (25 May 2000 07:33:19 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 25 May 2000 07:33:19 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 have you tried my source posted recently??? bye. Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru Fredrik Persson wrote: > > Hi i tried to set_pelette after loading the bitmap but it still just returns > a black screen.. > > { > allegro_init(); > install_keyboard(); > set_gfx_mode(GFX_VGA, 320, 200, 0, 0); > PALETTE p; > screen=load_bitmap("drop.bmp",p); > set_palette(p); > readkey(); > allegro_exit(); > } > > what is wrong??