home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!bcm!lib!oac2
- From: cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: GWorlds with B&W Macs
- Message-ID: <cshotton-010992130818@oac2.hsc.uth.tmc.edu>
- Date: 1 Sep 1992 18:11:45 GMT
- References: <Jim_Holt-010992093710@jolt.sps.mot.com>
- Sender: usenet@lib.tmc.edu
- Followup-To: comp.sys.mac.programmer
- Organization: Academic Computing
- Lines: 19
- Nntp-Posting-Host: oac2.hsc.uth.tmc.edu
-
- 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.
-
- --_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
- Chuck Shotton |
- Ass't Director, Academic Computing | "This space for rent."
- UT Health Science Center Houston |
- cshotton@oac.hsc.uth.tmc.edu |
- _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
-