diff options
| author | Manolo Gouy <Manolo> | 2011-02-02 12:42:47 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-02-02 12:42:47 +0000 |
| commit | 18156dfb30a291ca99422bd1bbebcb390bf9d570 (patch) | |
| tree | 6687d9dc49ab32d4f44f5d3725b58704ba195831 /src/Fl_Double_Window.cxx | |
| parent | bb29437427d44ee47ab1039f0bab3b66fdb40b62 (diff) | |
Removed global variable fl_surface that was not very useful because equivalent
to Fl_Surface_Device::surface().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8360 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 b64f949cf..fa59c8cec 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -278,7 +278,7 @@ static Fl_Surface_Device *_ss; \param ctx the offscreen buffer. */ void fl_begin_offscreen(Fl_Offscreen ctx) { - _ss = fl_surface; + _ss = Fl_Surface_Device::surface(); Fl_Display_Device::display_device()->set_current(); if (stack_ix<stack_max) { stack_gc[stack_ix] = fl_gc; |
