From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Still can display Bitmaps Date: Sun, 15 Nov 1998 19:06:30 -0500 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 10 Message-ID: <364F6C86.39D4@cam.org> References: <72n9pm$opo$1 AT autumn DOT news DOT rcn DOT net> NNTP-Posting-Host: dialup-813.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Travis Gant wrote: > start_allegro() > { > install_keyboard(); > set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0); > set_palette(pal); ^^^^^^^^^^^^^^^^^^^^^ you call load_bitmap after you call this, so pal does not contain anything here call set_palette after you call load_bitmap