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.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fl_font.cxx b/src/fl_font.cxx
index 2a6833adf..53a639efd 100644
--- a/src/fl_font.cxx
+++ b/src/fl_font.cxx
@@ -81,11 +81,13 @@ void fl_text_extents(const char *c, int &dx, int &dy, int &w, int &h) {
} // fl_text_extents
-#ifndef __APPLE__
void fl_draw(const char* str, int l, float x, float y) {
+#ifdef __APPLE__
+ fl_graphics_driver->draw(str, l, x, y);
+#else
fl_draw(str, l, (int)x, (int)y);
-}
#endif
+}
//
// End of "$Id$".
//