From cdf85352c42dd2f3b43703897148e8fa513c9cdc Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 17 Apr 2016 15:36:23 +0000 Subject: virtualized some Region calls. There is a deeper issue here: regions should be handled by the graphics driver that is associated with the Fl_Window of this widget... . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_font.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fl_font.cxx') diff --git a/src/fl_font.cxx b/src/fl_font.cxx index 530030874..ef4743c85 100644 --- a/src/fl_font.cxx +++ b/src/fl_font.cxx @@ -53,12 +53,12 @@ void fl_draw(const char* str, int l, float x, float y) { void fl_set_spot(int font, int size, int X, int Y, int W, int H, Fl_Window *win) { - fl_graphics_driver->set_spot(font, size, X, Y, W, H, win); + Fl_Graphics_Driver::default_driver().set_spot(font, size, X, Y, W, H, win); } void fl_reset_spot() { - fl_graphics_driver->reset_spot(); + Fl_Graphics_Driver::default_driver().reset_spot(); } // -- cgit v1.2.3