summaryrefslogtreecommitdiff
path: root/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx')
-rw-r--r--src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
index 717718cb4..2406468d2 100644
--- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
+++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
@@ -28,16 +28,6 @@
#include <X11/extensions/Xrender.h>
#endif
-/* Reference to the current graphics context
- For back-compatibility only. The preferred procedure to get this pointer is
- Fl_Surface_Device::surface()->driver()->gc().
- */
-GC fl_gc = 0;
-
-void Fl_Graphics_Driver::global_gc()
-{
-}
-
/*
* By linking this module, the following static method will instantiate the
@@ -50,6 +40,16 @@ Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver()
GC Fl_Xlib_Graphics_Driver::gc_ = NULL;
+/* Reference to the current graphics context
+ For back-compatibility only. The preferred procedure to get this pointer is
+ Fl_Surface_Device::surface()->driver()->gc().
+ */
+GC fl_gc = 0;
+
+void Fl_Xlib_Graphics_Driver::global_gc()
+{
+}
+
Fl_Xlib_Graphics_Driver::Fl_Xlib_Graphics_Driver(void) {
mask_bitmap_ = NULL;
p_size = 0;