[comp.sys.mac.programmer] Bizarre

jpf10694@uxa.cso.uiuc.edu (Joseph Peter Fleck) (06/15/91)

Hey,
	Got a problem with the switch from 6.05 to 7.0 with one of 
my programs that is graphics-intensive.  I don't know if the problem is  
in the CopyBits routine, or in the GDevice, but I'll define to you
graphics jockeys out there.  
	My port is set at 8 bits, and my new GWorld is also set at
8 bits.  In fact, here is my line for the GWorld
	errorCode = NewGWorld(&Storage, 8, &gWorldRect, 0L, 0L, 0L);
	But later in the program, when I copy FROM the offscreen
device to the screen, the colors appear to lose a depth level when it
redraws (i.e. if there are 15 different shades of green out there, the
update knocks off all but, say 2 greens in the redraw).  It is as if
you suddenly switched the Monitors device from 256 to 16 colors.  What
really baffles me is that it works fine if I go back to system 6.05. I     
haven't done anything wierd with 32-bit addressing (the attribute is
unchecked right now) but I am desperate.  
	I've got a IIci and 5 megs o' ram.  ANY help would be greatly
appreciated.  E-mail is preferred.  Tanks tons.
/----------------------------------------------------------------------------\
| Joseph P. Fleck               |"Yeah, so I finally got the googlephonic... |
| University of Illinois        | The highest number of speakers before      |
| Urbana/Champaign              | infinity....                               | 
|  INTERNET:                    | Sounds like shit."         - Steve Martin  |
|     jpf10694@uxa.cso.uiuc.edu |                       Comedy is not Pretty |
\----------------------------------------------------------------------------/