diff options
| author | Manolo Gouy <Manolo> | 2015-02-08 06:48:19 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-02-08 06:48:19 +0000 |
| commit | 1dd0cdcee9a517ccea5e121ee58695444c35b5a3 (patch) | |
| tree | 860ca904cc7aedd15a0ccaa3837c4a876075cfb0 /src/Fl_Double_Window.cxx | |
| parent | 4dce3a5ed543825b0b59a0369b1dbc6cfc21ba00 (diff) | |
Allow compilation with -std=c++11 on Mac OS X
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Double_Window.cxx')
| -rw-r--r-- | src/Fl_Double_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 10691960d..99ba3e7d1 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -283,7 +283,7 @@ void Fl_Quartz_Graphics_Driver::copy_offscreen(int x,int y,int w,int h,Fl_Offscr CGImageRef img = CGImageCreate( sw, sh, 8, 4*8, 4*sw, lut, alpha, src_bytes, 0L, false, kCGRenderingIntentDefault); // fl_push_clip(); - CGRect rect = { { x, y }, { w, h } }; + CGRect rect = CGRectMake(x, y, w, h); Fl_X::q_begin_image(rect, srcx, srcy, sw, sh); CGContextDrawImage(fl_gc, rect, img); Fl_X::q_end_image(); |
