summaryrefslogtreecommitdiff
path: root/src/fl_font.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_font.cxx')
-rw-r--r--src/fl_font.cxx4
1 files changed, 2 insertions, 2 deletions
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();
}
//