delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/23/10:31:49

From: jerry AT eteklabs DOT nospam DOT com (Jerry Lawrence)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Colours with Allegro
Date: Thu, 23 Apr 1998 09:57:34 -0400
Message-ID: <MPG.fa912d656a1e555989680@gateway>
References: <6hnb7o$prn AT news DOT network DOT com>
Organization: e-Tek Labs
NNTP-Posting-Host: dial-dominion-33.netacc.net
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <6hnb7o$prn AT news DOT network DOT com>, e-mail DOT address AT end DOT of DOT text 
says...
> /****************************************************************************
>  Would somebody please compile this little program and explain to me what I'm
>  doing wrong?
> 
>  ...
> 
>  I make a pallete of 256 colours from R,G,B=0,0,0 to R,G,B=255,255,255
>  then I step through them making a bar 256 pixels long and expecting to see
>  each x position progressively lighter than the previous, but what I get is:
>
>  ...

Palette values go from 0 to 64, not 0 to 255.

	-jerr

- Raw text -


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