From b6b99d84e9513405ee381dbf93572914d195fc75 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 7 Mar 2016 20:50:18 +0000 Subject: Fix PicoSDL. Fixed some issues with Image_Surface and Copy_Surface for PicoSDL. Still have to virtualize the driver concept. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Device.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Device.cxx') diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx index e61d74346..7d37edb61 100644 --- a/src/Fl_Device.cxx +++ b/src/Fl_Device.cxx @@ -55,9 +55,9 @@ bool Fl_Display_Device::high_res_window_ = false; This surface will receive all future graphics requests. */ void Fl_Surface_Device::set_current(void) { - fl_graphics_driver = _driver; + fl_graphics_driver = pGraphicsDriver; _surface = this; - _driver->global_gc(); + pGraphicsDriver->global_gc(); } Fl_Surface_Device* Fl_Surface_Device::_surface; // the current target surface of graphics operations -- cgit v1.2.3