add clip folders, icon margins, fix safe regions, update neophyte, fix folder edl...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / cwindowgui.C
index ecb58bee58ae8604fdb05d5f9962a582b124b08d..2b11f38b4a36f314eb0e7ab7adb662ea29c89405 100644 (file)
@@ -1108,6 +1108,9 @@ void CWindowCanvas::draw_refresh(int flush)
                }
 
                draw_overlays();
+// allow last opengl write to complete before redraw
+// tried sync_display, glFlush, glxMake*Current(0..)
+usleep(20000);
                get_canvas()->flash(flush);
        }
 //printf("CWindowCanvas::draw_refresh 10\n");