vicon jittering, opengl no draw_refresh if no ovly for last frame
[goodguy/history.git] / cinelerra-5.1 / cinelerra / vdevicex11.C
index 1407d2e97ea91f263e8858bae72f9a7ec1756a46..fc9e84097a0bc2c44f9e99c3510fb755746a1dbc 100644 (file)
@@ -172,7 +172,9 @@ int VDeviceX11::close_all()
 
        if( output && output_frame ) {
                output->update_refresh(device, output_frame);
-               output->draw_refresh(1);
+// if the last frame is good, don't draw over it
+               if( output->need_overlays() )
+                       output->draw_refresh(1);
        }
 
        delete bitmap;          bitmap = 0;