www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/24/14:40:40

From: JAB <jab_joe AT my-deja DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Plotting a 24bit color pixel in Allegro
Date: Thu, 24 Feb 2000 11:49:15 GMT
Organization: Deja.com - Before you buy.
Lines: 20
Message-ID: <8935rr$hs0$1@nnrp1.deja.com>
NNTP-Posting-Host: 161.112.232.5
X-Article-Creation-Date: Thu Feb 24 11:49:15 2000 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT)
X-Http-Proxy: 1.0 gossamer:3128 (Squid/1.1.22), 1.0 x43.deja.com:80 (Squid/1.1.22) for client 161.112.78.135, 161.112.232.5
X-MyDeja-Info: XMYDJUIDjab_joe
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

 Hiya

 How do you plot a pixel in 24bit (or 32bit) color with Allegro?
 I have the image I want on screen in a unsigned long 1D array. I need
to write that to screen as fast as possible. (It's gfx 3D thing I've
made and converting to the PC). Before on the good old Acorn what I was
doing was just writing this array to another array that's memory
pointer was at the screen address. I know that you can't really do that
on the PC in 24bit color at things like 640 by 480 so I need to find
another fast way. Anyone got any words of advice, or at least telling
me how to get a 24bit color pixel on the screen.

--
Catch ya later

JAB


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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