Mail Archives: djgpp/1998/07/17/17:31:57
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 -