How can I avoid “Tearing” on screen updates? If i do a aglswapdoublebuffer in the middle of a video update, part of the old image is drawn, and part of the new one is. The problem is that I can’t tell when a video update is going to occur.
Is there someway of manually counting the number of video refreshes since startup? That way I could poll that number, and only redraw when it increases.