[comp.windows.x] Loading Green Values in Colormap.

harish@csl36h.ncsu.edu (09/27/89)

	I am having trouble loading the green color LUT of the colormap. 
I have the flag field of my XColor array set to (DoRed)|(DoGreen)|(DoBlue)
before I execute an XStoreColors(). The Red and Blue colors get set, but
Green doesn't. However, I notice another wierdness. If I set the flags just
to DoRed or DoBlue, the Reds or the Blues get set appropriately, setting the
other two colors to zero.(yes, the Greens are set to zero too !!). Setting 
the flags to DoGreen doesn't set the Green colors.

Does somebody have any clue what's happening here ? I am on Ultrix 3.1
VaxStation displaying on an Ultrix 3.1 DECstation with 8-bitplane display.

harish pu. hi.					harish@ecebucolix.ncsu.edu
						harish@ecelet.ncsu.edu

PS: I am setting all the 256 colors, and I am reading the colors set by the
    server thru XQueryColors(). The colors returned by XQueryColors() match
    with the ones displayed on the screen.