summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-11-09 09:49:48 +0000
committerManolo Gouy <Manolo>2016-11-09 09:49:48 +0000
commitc530cdeda65fa1479b2a77c63b91e8a947cc32eb (patch)
tree96aee1efca331910e9f30b32969437f79f615d07 /src/Fl_x.cxx
parentf08c41448576d3694f9cf07c7122c9a0e690dbca (diff)
Use Fl_Graphics_Driver::default_driver() when convenient.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 93ef26d78..6a07175b4 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -616,7 +616,7 @@ void Fl_X11_Screen_Driver::open_display() {
fl_open_display(d);
// the unique GC used by all X windows
GC gc = XCreateGC(fl_display, RootWindow(fl_display, fl_screen), 0, 0);
- Fl_Display_Device::display_device()->driver()->gc(gc);
+ Fl_Graphics_Driver::default_driver().gc(gc);
}