Use quad buffering.
Copy current backbuffer to last backbuffer after rendering.