Skip to content
Snippets Groups Projects
Commit 34c7ead2 authored by Ruth Sabariego's avatar Ruth Sabariego
Browse files

don't check() in drawCurrentOpenglWindow

parent efc95b29
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,10 @@ class drawContextFltk : public drawContextGlobal{ ...@@ -63,7 +63,10 @@ class drawContextFltk : public drawContextGlobal{
if(make_current) gl->make_current(); if(make_current) gl->make_current();
gl->redraw(); gl->redraw();
glFlush(); glFlush();
FlGui::instance()->check(); // drawCurrentOpenglWindow is currently only used when filling the pixel
// buffer for bitmap image creation. To avoid spurious asynchronous gui
// events fired while creating the picture, don't call check():
// FlGui::instance()->check();
} }
int getFontIndex(const char *fontname) int getFontIndex(const char *fontname)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment