www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/17/17:31:57

Message-ID: <35AF80E1.ECC79115@net4you.co.at>
Date: Fri, 17 Jul 1998 18:50:41 +0200
From: Seawolf <seawolf AT net4you DOT co DOT at>
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>
NNTP-Posting-Host: 194.177.154.96
Lines: 23
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 !!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019