home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!gatech!news.ans.net!cmcl2!cmcl2!mcclb0.med.nyu.edu!siegel
- From: siegel@mcclb0.med.nyu.edu
- Subject: dir/reg
- Message-ID: <1992Aug25.124757.1@mcclb0.med.nyu.edu>
- Summary: Colormap syncing from SGI to MAC...HOW?
- Lines: 23
- Sender: notes@cmcl2.nyu.edu (Notes Person)
- Nntp-Posting-Host: mcclb0.med.nyu.edu
- Reply-To: chris@mchip01.med.nyu.edu
- Organization: NYU Medical Center, New York, NY 10016, USA
- Date: Tue, 25 Aug 1992 17:47:57 GMT
- Lines: 23
-
- Does anyone have experience syncing colors between an SGI and a MAC
- under X (or 2 other systems with disparate colormaps)? I have tried:
- XAllocColorCells(MACdpy,MACcmap,True,plane_masks,8,pixels,256)
- ; /* where MACcmap = DefaultColormap(MACdpy,MACscreen); */
- XQueryColors(SGIdpy,SGIcmap,sgicolors,vinfo->colormap_size);
- XStoreColors(MACdpy,MACcmap,sgicolors,vinfo->colormap_size);
-
- but I get:
- X Error of failed request: BadAccess (attempt to access
- private resource denied)
- Major opcode of failed request: 89 (X_StoreColors)
- Serial number of failed request: 11
- Current serial number in output stream: 12
-
- If anyone has any information to help me out, I would greatly
- appreciate it. Also, any ideas on executing RGB-mode pixmap copies?
-
- Thanks,
- Chris Siegel
- NYU School of Medicine
- chris@mchip01.med.nyu.edu
-
-
-