diff options
| author | Manolo Gouy <Manolo> | 2010-06-19 15:19:13 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-06-19 15:19:13 +0000 |
| commit | 6c2274f011b7fafa346626913e2c440b22f16a24 (patch) | |
| tree | 3e2fbec4bea0c26010910f8d5a334189d32b5b63 | |
| parent | 2425499352346fcf92e66c785a242afa0bd0e254 (diff) | |
fl_begin_offscreen/fl_end_offscreen: added fl_push_noclip/fl_pop_clip to render Mac consistent with other platforms
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_Double_Window.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 8d9acb65f..9c5e210b4 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -231,14 +231,13 @@ void fl_begin_offscreen(Fl_Offscreen ctx) { fl_gc = (CGContextRef)ctx; fl_window = 0; - //fl_push_no_clip(); CGContextSaveGState(fl_gc); - Fl_X::q_fill_context(); + fl_push_no_clip(); } void fl_end_offscreen() { Fl_X::q_release_context(); - //fl_pop_clip(); + fl_pop_clip(); if (stack_ix>0) stack_ix--; else |
