summaryrefslogtreecommitdiff
path: root/FL/x.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-02 11:29:18 +0000
committerManolo Gouy <Manolo>2011-02-02 11:29:18 +0000
commitbb29437427d44ee47ab1039f0bab3b66fdb40b62 (patch)
treee6394dc434ab7943828330b23ef149f7cd365733 /FL/x.H
parent864918b6b2d65284e954c5ff9786c2f465e10923 (diff)
Removed global variable fl_display_device that was not very useful because equivalent
to Fl_Display_Device::display_device(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/x.H')
-rw-r--r--FL/x.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/x.H b/FL/x.H
index c022246eb..587822baf 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -90,7 +90,7 @@ typedef ulong Fl_Offscreen;
// begin/end are macros that save the old state in local variables:
# define fl_begin_offscreen(pixmap) \
Window _sw=fl_window; fl_window=pixmap; \
- Fl_Surface_Device *_ss = fl_surface; fl_display_device->set_current(); \
+ Fl_Surface_Device *_ss = fl_surface; Fl_Display_Device::display_device()->set_current(); \
fl_push_no_clip()
# define fl_end_offscreen() \
fl_pop_clip(); fl_window = _sw; _ss->set_current()