Skip to content
Snippets Groups Projects
Commit 23ca14fa authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add a flish and check: should not hurt :-)

parent 8e916614
Branches
Tags
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment