diff options
| author | Manolo Gouy <Manolo> | 2014-11-19 10:29:30 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-11-19 10:29:30 +0000 |
| commit | 659480f28beb44a7a805682563183698a279cd96 (patch) | |
| tree | 6648a28234eb90a0b6e1239aa691640a45b215be /src/Fl_Paged_Device.cxx | |
| parent | a385786d3a23c2f3d9db4b74a5b4ec2d6c8184e5 (diff) | |
Matches CGContextSaveGState() with corresponding CGContextRestoreGState().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Paged_Device.cxx')
| -rw-r--r-- | src/Fl_Paged_Device.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx index 7f4d9d1a6..88eeef507 100644 --- a/src/Fl_Paged_Device.cxx +++ b/src/Fl_Paged_Device.cxx @@ -130,6 +130,9 @@ void Fl_Paged_Device::print_window_part(Fl_Window *win, int x, int y, int w, int win->make_current(); uchar *image_data; image_data = fl_read_image(NULL, x, y, w, h); +#ifdef __APPLE__ + Fl_X::q_release_context(); // matches make_current() call above +#endif if (save_front != win) save_front->show(); current->set_current(); fl_draw_image(image_data, delta_x, delta_y, w, h, 3); |
