diff options
| author | Manolo Gouy <Manolo> | 2018-04-23 16:04:09 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-04-23 16:04:09 +0000 |
| commit | ece56437a6249913a7fd73a4729a58fba4aa508e (patch) | |
| tree | d3765c101619a3db2f058e37eafdfb7fb6e5baa6 /src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | |
| parent | 50c3568aff5c9fdd513a6ebb087f4a44dd10a9c0 (diff) | |
Undo change at r12792 (24 march 2018) because test/offscreen does not work with it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx')
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx index 687950fc9..9d750ba5f 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx @@ -307,7 +307,7 @@ void Fl_WinAPI_Window_Driver::flush_double() } if (pWindow->damage() & ~FL_DAMAGE_EXPOSE) { fl_clip_region(i->region); i->region = 0; -#if 0 /* Short form that transiently changes the current Fl_Surface_Device */ +#if 1 /* Short form that transiently changes the current Fl_Surface_Device */ fl_begin_offscreen(other_xid); fl_graphics_driver->clip_region( 0 ); draw(); @@ -317,6 +317,7 @@ void Fl_WinAPI_Window_Driver::flush_double() The code run in the window draw() method can call Fl_Surface_Device::surface() and conclude that it's drawing to the display, which is ultimately true for an Fl_Double_Window. + With this form, test/offscreen does not work ==> needs investigation. */ HDC sgc = fl_gc; Window save_w = fl_window; fl_window = (Window)other_xid; |
