Author: manolo
Date: 2010-06-19 08:19:13 -0700 (Sat, 19 Jun 2010)
New Revision: 7651
Log:
fl_begin_offscreen/fl_end_offscreen: added fl_push_noclip/fl_pop_clip to render
Mac consistent with other platforms
Modified:
branches/branch-1.3/src/Fl_Double_Window.cxx
Modified: branches/branch-1.3/src/Fl_Double_Window.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Double_Window.cxx 2010-06-18 16:31:15 UTC
(rev 7650)
+++ branches/branch-1.3/src/Fl_Double_Window.cxx 2010-06-19 15:19:13 UTC
(rev 7651)
@@ -231,14 +231,13 @@
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
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit