From 9ae4a99081237f94d47a480d41313dc65737bd98 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 17 Apr 2016 14:45:25 +0000 Subject: virtualized Fl_Graphics_Driver::global_gc(), a function that should probably not exeist. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx') 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 #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; -- cgit v1.2.3