Mail Archives: djgpp/1998/10/11/09:56:34
Mark Tsui wrote:
>
> when I use vsync in my program, the maximum frame rate is only about 60
> frames per second. when I remove the vsync, the program runs at 3000 and
> something frames per second, however, the graphics looked all flickered, how
> do I solve this problem?
>
> Any help will be appreciated.
Other messages have said what vsync does, but an easy message to stop it
wasting time is to use tripple buffering, where you have three buffers,
and when you are waiting for the vsync to blit buffer one on the screen,
you can be drawing onto the third buffer. This should save some time
when the program gets more complicated.
Peter Allen
- Raw text -