home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: OS3 Double Buffering
- References: <thst.02fb@outsite.saar.de>
- X-Newsreader: TIN [version 1.2 PL2]
- Path: imada.ou.dk!breese
- From: breese@imada.ou.dk (Bjorn Reese)
- Message-ID: <1996Jan9.171601.19150@imada.ou.dk>
- Sender: news@imada.ou.dk
- Nntp-Posting-Host: langgaard.imada.ou.dk
- Organization: Dept. of Math. & Computer Science, Odense University, Denmark
- Date: Tue, 9 Jan 1996 17:16:01 GMT
- Newsgroups: comp.sys.amiga.programmer
-
- Thomas Strauss (thst@outsite.saar.de) wrote:
- > My problem is, that I never receive the SafeMessage to change
- > the BitMaps. Do I have to prepare it in some way?
-
- I had a similar problem which I solved in the following way
- (and unless Michael van Elst comes up with a better solution
- I shall continue to use it :)
-
- while (running) {
- do {
- handleIDCMP();
- res = ChangeScreenBuffer(myScreen, buffer)
- WaitTOF();
- } while (res == 0);
- /* do whatever */
- ...
- }
-
- --
- Bjorn Reese Email: breese@imada.ou.dk
- Odense University, Denmark URL: http://www.imada.ou.dk/~breese
-
- "It's getting late in the game to show any pride or shame" - Marillion
-