diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-26 23:24:49 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-26 23:24:49 +0100 |
commit | 9b3494d95ce96d87bac6b1b159a17ebc2bbcff5d (patch) | |
tree | c39a563f6841e68adac0f2957f7f08569c2f7e11 | |
parent | 9c703b062034b7a484fbf97ddeff91d5bc273bd8 (diff) |
redraw before screen dump
-rw-r--r-- | src/ScreenDump.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ScreenDump.cxx b/src/ScreenDump.cxx index c1643d7..3bfd483 100644 --- a/src/ScreenDump.cxx +++ b/src/ScreenDump.cxx @@ -14,6 +14,7 @@ ScreenDump::ScreenDump(GipfelWidget *gipf) { Fl::flush(); offscreen = fl_create_offscreen(w, h); fl_begin_offscreen(offscreen); + gipf->redraw(); gipf->draw(); rgb = fl_read_image(NULL, 0, 0, w, h); fl_end_offscreen(); |