summaryrefslogtreecommitdiff
path: root/framebuffer/fb_8bpp_plotters.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/fb_8bpp_plotters.c')
-rw-r--r--framebuffer/fb_8bpp_plotters.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/framebuffer/fb_8bpp_plotters.c b/framebuffer/fb_8bpp_plotters.c
index 087cf025b..1d0eccc83 100644
--- a/framebuffer/fb_8bpp_plotters.c
+++ b/framebuffer/fb_8bpp_plotters.c
@@ -127,6 +127,15 @@ static bool fb_8bpp_clg(colour c)
return true;
}
+#ifdef FB_USE_FREETYPE
+
+static bool fb_8bpp_text(int x, int y, const struct css_style *style,
+ const char *text, size_t length, colour bg, colour c)
+{
+ return false;
+
+}
+#else
static bool fb_8bpp_text(int x, int y, const struct css_style *style,
const char *text, size_t length, colour bg, colour c)
{
@@ -206,7 +215,7 @@ static bool fb_8bpp_text(int x, int y, const struct css_style *style,
free(buffer);
return true;
}
-
+#endif
static bool fb_8bpp_disc(int x, int y, int radius, colour c, bool filled)
{