Mail Archives: djgpp/1999/07/31/21:35:26
Amin Kharchi napisał(a):
> Hello!
>
> I want to use the fast videomemory with pageflipping for my game:
>
> BITMAP *bmp;
> bmp = create_video_bitmap(640,480);
>
> If I draw a bitmap with draw_sprite(bmp, sprite, 0,0) in to the created
> videospace, the sprite will be shown on the screen... But why??? I don't
> have used the function show_video_bitmap(bmp)!
>
> How could this possible and how I must use this video_bitmap-functions
> correctly?
>
> And I have a loop for the draw_sprite() and its flickering, with
> show_video_bitmap() and vsync() it's not better.
>
> --
> Amin Kharchi
> Wolfsburg, Germany
This is not correct answer to your question.
In 640x480 modes, page flipping is worse than double buffering sometimes, when
you use VESA I think.
Try it, VESA 2 linear and VESA 3 are very fast, fastest.
--
mailto:pienkny AT friko6 DOT onet DOT pl
+4822368951
- Raw text -