diff options
| author | Manolo Gouy <Manolo> | 2018-11-21 11:55:04 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-11-21 11:55:04 +0000 |
| commit | 7e5b04cab5936e78fedd95323b67946b265bd7fe (patch) | |
| tree | 08ce0d5da86cd40c59e882973fa3a34fd5b99282 | |
| parent | 3e6d8903d46f932a45980c139eb08bf0a11725dc (diff) | |
macOS: remove two useless statements for layer-backed OpenGL windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 7f4a82450..68e1cb353 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2202,11 +2202,9 @@ static CGContextRef prepare_bitmap_for_layer(int w, int h ) { // 1st drawing of GL window [self did_view_resolution_change]; } - through_drawRect = YES; window->clear_damage(FL_DAMAGE_ALL); d->Fl_Window_Driver::flush(); window->clear_damage(); - through_drawRect = NO; if (fl_mac_os_version < 101401) { if (window->parent()) window->redraw(); // useful during resize of GL subwindow } |
