home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!cs.utexas.edu!oakhill!jolt.sps.mot.com!user
- From: Jim_Holt@aprdlgtr.sps.mot.com (Jim Holt)
- Subject: Re: GWorlds with B&W Macs
- Message-ID: <Jim_Holt-020992074834@jolt.sps.mot.com>
- Followup-To: comp.sys.mac.programmer
- Sender: news@oakhill.sps.mot.com
- Nntp-Posting-Host: 222.20.248.206
- Organization: Motorola
- References: <Jim_Holt-010992093710@jolt.sps.mot.com> <cshotton-010992130818@oac2.hsc.uth.tmc.edu>
- Date: Wed, 2 Sep 1992 12:48:52 GMT
- Lines: 24
-
- In article <cshotton-010992130818@oac2.hsc.uth.tmc.edu>,
- cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) wrote:
- >
- > In article <Jim_Holt-010992093710@jolt.sps.mot.com>,
- > Jim_Holt@aprdlgtr.sps.mot.com (Jim Holt) wrote:
- > >
- > > SetGWorld (tempGWorld, nil);
- > >
- > > /********* program goes away on the following call !! ************/
- > >
- > > DrawPicture(tempPic,&tempRect);
- >
- > You didn't lock your pixMap before drawing to it. You need some code like:
- > err=LockPixels(tempGWorld->portPixMap);
- > before you call DrawPicture.
- >
-
- Thanks to all who responded to this post. Again the net bails me out ..
-
- Locking the pixMap was indeed the cure to my problem. It even says ya
- gotta do this in IM-VI, on the page after the one where it says you can use
- GWorlds on B&W macs :-)
-
- -jh
-