From b1d3eae6f25effbdb505e66e21523cd080a3a766 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 4 Nov 2005 09:16:16 +0000 Subject: [PATCH] Moved 'flush' before 'idle' in main loop fl_wait to make redraw action quicker. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 215e2861e..cf0d72772 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -289,6 +289,7 @@ int fl_wait(double time_to_wait) { have_message = PeekMessage(&fl_msg, NULL, 0, 0, PM_REMOVE); } } + Fl::flush(); // idle processing static char in_idle; @@ -299,7 +300,6 @@ int fl_wait(double time_to_wait) { } run_checks(); - Fl::flush(); // This should return 0 if only timer events were handled: return 1;