delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/25/11:46:07

From: "Fredrik Persson" <irnman AT rocketmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: re: palette stll doesnt work..
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <heLW4.9282$Za1.144230@newsc.telia.net>
Date: Wed, 24 May 2000 07:09:01 GMT
NNTP-Posting-Host: 195.252.56.192
X-Complaints-To: abuse AT telia DOT com
X-Trace: newsc.telia.net 959152141 195.252.56.192 (Wed, 24 May 2000 09:09:01 MET DST)
NNTP-Posting-Date: Wed, 24 May 2000 09:09:01 MET DST
Organization: Telia Internet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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??



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019