diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-11-21 15:33:24 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-11-21 15:33:24 +0000 |
| commit | 6849c43a05bcd7cfa8576eba6e1413415e1cdfd9 (patch) | |
| tree | df198464f14541cc5fb1b581767b02f311d93b74 /src | |
| parent | 876e29acefc9207562fbe98502eba48a06e1f5f8 (diff) | |
Check for a NULL off-screen buffer before copying...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Double_Window.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index eb834c980..e3fc8edcd 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.12 2004/08/31 22:00:47 matthiaswm Exp $" +// "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.13 2004/11/21 15:33:24 easysw Exp $" // // Double-buffered window code for the Fast Light Tool Kit (FLTK). // @@ -315,11 +315,7 @@ void Fl_Double_Window::flush(int eraseoverlay) { // on Irix (at least) it is faster to reduce the area copied to // the current clip region: int X,Y,W,H; fl_clip_box(0,0,w(),h(),X,Y,W,H); -#ifdef __APPLE__ if (myi->other_xid) fl_copy_offscreen(X, Y, W, H, myi->other_xid, X, Y); -#else - fl_copy_offscreen(X, Y, W, H, myi->other_xid, X, Y); -#endif } void Fl_Double_Window::resize(int X,int Y,int W,int H) { @@ -352,5 +348,5 @@ Fl_Double_Window::~Fl_Double_Window() { } // -// End of "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.12 2004/08/31 22:00:47 matthiaswm Exp $". +// End of "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.13 2004/11/21 15:33:24 easysw Exp $". // |
