double buffer -> double image

double buffer -> double image

Post by Tom Lewi » Fri, 16 May 1997 04:00:00

I am writing a simple program that moves a vertical line
across the screen.  

draw line

The program uses a XtAppAddTimeOut(50) [20hz] to keep calling itself.
each frame the line moves approximately 10 pixels.

The resulting display shows a double line.  Either the Clear buffer is
not working, or the swapbuffer is not tied to the vertical sweep as

Does anyone have any suggestions to make this line motion apear smooth?