www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/04/07:15:59

From: Bougard <fbassonNOfbSPAM AT mweb DOT co DOT za DOT invalid>
Subject: Allegro datafile truecolor gfx problem
Newsgroups: comp.os.msdos.djgpp
Message-ID: <02e322c1.4a4958d9@usw-ex0109-069.remarq.com>
Lines: 35
Bytes: 893
X-Originating-Host: 196.28.130.212
Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here
X-Wren-Trace: eN7709LLjMaNmMjXyI3Q2ezA2d7ZlJ3HlcjQnYaTkdCDgNCOg86FgoON
Date: Sat, 04 Dec 1999 02:31:12 -0800
NNTP-Posting-Host: 10.0.2.69
X-Complaints-To: wrenabuse AT remarq DOT com
X-Trace: WReNphoon3 944303690 10.0.2.69 (Sat, 04 Dec 1999 02:34:50 PST)
NNTP-Posting-Date: Sat, 04 Dec 1999 02:34:50 PST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

OK.

I've tried this question on another newsgroup but had no
response.

I have a program compiled with DJGPP using allegro.
the program opens a Allegro datafile containing a truecolor
(24/32bit) image. the gfx mode is set to truecolor in
640x480 res. but when I do a blit from the datafile to the
screen, I only get a big blue block.

this doesn't happen with 256-color grafx

>> blit(dat[tcgfx].dat, screen, 0, 0, 0, 0, 640, 480);

also

how can I compile my own library (.a) to reuse for further
projects?

All help will be greatly appreciated

Please email me your answers if you won't mind.

FRANCOIS BASSON
fbasson AT mweb DOT co DOT za
fbasson AT impaxe DOT cjb DOT net

IMPAX ENTERTAINMENT
For the gamer on the street




* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

- Raw text -


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