summaryrefslogtreecommitdiff
path: root/src/Fl_Device.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-07 20:50:18 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-07 20:50:18 +0000
commitb6b99d84e9513405ee381dbf93572914d195fc75 (patch)
treee51561ce6f3014a058c2c1466d0a10ef55e12ad7 /src/Fl_Device.cxx
parentb33c9cffd13dadbc1061b122e61e9f70f0153de2 (diff)
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
Diffstat (limited to 'src/Fl_Device.cxx')
-rw-r--r--src/Fl_Device.cxx4
1 files changed, 2 insertions, 2 deletions
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