Mail Archives: djgpp/1998/11/15/22:16:53
| From: | Vic <tudor AT cam DOT org>
|
| 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
|
| 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
- Raw text -