From 9b3494d95ce96d87bac6b1b159a17ebc2bbcff5d Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 26 Mar 2009 23:24:49 +0100 Subject: redraw before screen dump --- src/ScreenDump.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(); -- cgit v1.2.3