www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/26/19:09:44

From: keane AT earthsun DOT umd DOT edu (Christopher Matthews Keane)
Date: Sat, 26 Jun 1993 18:10:38 -0400
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Using GrSetColor on colors 10-14

I have encountered a curious problem that perhaps someone knows the solution.
I am using GRX 1.02 with DJGPP 1.09... I have thus far been allocating and
modifying colors fine (in 256 color mode).  However, when I generate a Gray Scae
and then readjust those colors, the changes work fine except for color indices
10, 11, 12, 13, 14.  I am using an ET4000 board with 1 Meg RAM.  I figure that
libGRX is not freeing these colors properly because they are within the typical
system palette of 16 colors..... but colors 0-9 change fine!

I can easily work around this problem if I could explicitly GrAllocCell a s
specific indice (such that I could "locK" away these problematic colors.....

Any help is appreciated.
Cheers
Christopher Keane
keane AT earthsun DOT umd DOT edu

- Raw text -


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