Message-ID: <35AF80E1.ECC79115@net4you.co.at> Date: Fri, 17 Jul 1998 18:50:41 +0200 From: Seawolf MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro and blitting to screen References: <6onnuh$12p$2 AT oravannahka DOT Helsinki DOT FI> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 194.177.154.96 Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Tuomo A Turunen wrote: > HELP !!?? > I'm programming a very nice game with DJGPP and allegro. I use SVGA > 640*480*256 colors, so graphic looks good. But the problem is the > double buffering. It's just too slow. Example : > > BITMAP *buffer = create_bitmap(640, 480); > > clear(buffer); > while( game_continues) { > // some drawwing on the buffer > blit(buffer, screen, 0, 0, 0, 0, 640, 480); > } > > That is a the only way I can think of, but itsn't fast enough. > So is there any faster way to do that 'blit(buffer, screen, ...)' ??? I'VE GOT THE SAME PROBLEM ---- SO PLEASE TELL ME IF YOU KNOW HOW TO SOLVE IT ..... THANKS IN ADVANCE !!