home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!wupost!gumby!destroyer!ncar!unmvax!mimbres.cs.unm.edu!nmt.edu!stephan
- From: stephan@nmt.edu (Stephan Witz)
- Subject: XAllocColor strangeness
- Message-ID: <1992Jul29.001148.10511@nmt.edu>
- Organization: New Mexico Drek
- Distribution: usa
- Date: Wed, 29 Jul 1992 00:11:48 GMT
- Lines: 18
-
- Hey guys, I've got an odd problem. I wrote this application about half
- a year or so ago, and it preformed marvelously. However ...
-
- I recently recompiled the thing after playing with some of the
- non-graphics algorithms. I used gcc 2.1 on a Sparc station ipc
- running X11R5 (patch level 13). To my supprise, all the neat-o
- color beasties I drew ended up being black. XAllocColor started
- returning black on all my calls to it. I checked the input, and
- everything seems to be in order (types correct, no bogus data).
- The earlier calls to XAllocNamedColor work as they should, and
- casual inspection shows no color map madness.
-
- Any ideas? Drop me a line at: stephan@nmt.edu
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- "Let he who is without sine throw the first rock." - Anton
- "The New Mexico Institute of Mining and Technology is
- an institution that I'm proud to be comitted to!" - Me
-
-