What does double buffering prevent?
- Visible flicker while a frame is drawn
- Extra memory use during rendering
- Slower physics on weak machines
- Lower audio playback quality
Drawing to a hidden buffer, then swapping, avoids showing a half-drawn frame.
Play Game Dev ▸