www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/25/13:30:25

From: JAB <jab_joe AT my-deja DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Plotting a 24bit color pixel in Allegro
Date: Fri, 25 Feb 2000 16:49:14 GMT
Organization: Deja.com - Before you buy.
Lines: 26
Message-ID: <896bq8$tre$1@nnrp1.deja.com>
References: <8935rr$hs0$1 AT nnrp1 DOT deja DOT com> <m5mabs44vp0k261orhb5ni2k25vc7bh1m2 AT 4ax DOT com> <893o80$vag$1 AT nnrp1 DOT deja DOT com> <03qabscgd7tpge4vhl9sdrp6omljpuj249 AT 4ax DOT com>
NNTP-Posting-Host: 161.112.232.5
X-Article-Creation-Date: Fri Feb 25 16:49:14 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 x40.deja.com:80 (Squid/1.1.22) for client 161.112.79.16, 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

> >> Look in the Allegro docs for putpixel() and direct memory access.
> >>
> >
> > I have. I'm doing
> >putpixel(screen, x,y,makecol(Rendered[temp].r,Rendere
[temp].g,Rendered
> >[temp].b));
> >
> > at the moment and it's not working. Well I'll getting an image. But
> >not in a way that imply working true color to me, because there is no
> >more then 16 colors on the screen. Could I be missing something?
>
> Did you set_color_depth(32); first?
>

  Yep.

--
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