02-02-2001, 03:14 PM
After realizing that my framerate was being capped precisely by my refresh rate, I got to wondering something else...
Using NeHe's demos as the foundation...
Sometimes between similiar runs of my program, my movement (adjusted by per-frame time difference) becomes choppy although the framerate is the same. Running it again, my movement may then be perfectly fluid, at the same framerate.
Is it possible that my program is swapping the buffers out of sync with the refresh rate, and hitting a delay waiting for the next one? If so, how do I determine/fix this situation?
Thanks.
- Jeramie
Using NeHe's demos as the foundation...
Sometimes between similiar runs of my program, my movement (adjusted by per-frame time difference) becomes choppy although the framerate is the same. Running it again, my movement may then be perfectly fluid, at the same framerate.
Is it possible that my program is swapping the buffers out of sync with the refresh rate, and hitting a delay waiting for the next one? If so, how do I determine/fix this situation?
Thanks.
- Jeramie