home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14610 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.3 KB  |  29 lines

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