From 23ca14fa4fe51dc5c9974a593c09b7c1337081cc Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 13 Mar 2009 08:10:25 +0000 Subject: [PATCH] add a flish and check: should not hurt :-) --- Fltk/Draw.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Fltk/Draw.cpp b/Fltk/Draw.cpp index cfa0c1ac0d..d6ee794d85 100644 --- a/Fltk/Draw.cpp +++ b/Fltk/Draw.cpp @@ -32,6 +32,8 @@ void DrawCurrentOpenglWindow(bool make_current) openglWindow *gl = GUI::instance()->getCurrentOpenglWindow(); if(make_current) gl->make_current(); gl->redraw(); + glFlush(); + GUI::instance()->check(); } void DrawPlugin(void (*draw)(void *context)) -- GitLab