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
This commit is contained in:
Manolo Gouy 2010-06-19 15:19:13 +00:00
parent 2425499352
commit 6c2274f011

View File

@ -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