delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/25/18:47:53

From: "Fredrik Persson" <irnman AT rocketmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: re: palette still dont work... =(
Lines: 20
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: <gIRW4.5531$wYl.221161984@newsb.telia.net>
Date: Wed, 24 May 2000 14:30:36 GMT
NNTP-Posting-Host: 62.20.164.233
X-Complaints-To: abuse AT telia DOT com
X-Trace: newsb.telia.net 959178636 62.20.164.233 (Wed, 24 May 2000 16:30:36 CEST)
NNTP-Posting-Date: Wed, 24 May 2000 16:30:36 CEST
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