From 4a25b8e68d2242f57bacf4adc2c8de910cdc06f8 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sat, 18 Dec 2010 20:57:46 +0100 Subject: [PATCH] Make text go through the 3D pipeline --- libol/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libol/text.c b/libol/text.c index db178fe..bac4887 100644 --- a/libol/text.c +++ b/libol/text.c @@ -58,7 +58,7 @@ float olDrawChar(Font *font, float x, float y, float height, uint32_t color, cha olBegin(OL_BEZIERSTRIP); do { - olVertex(x + p->x * ratio, y - p->y * ratio, color); + olVertex3(x + p->x * ratio, y - p->y * ratio, 0, color); if (p->flag == 1) { olEnd(); olBegin(OL_BEZIERSTRIP); -- 2.52.0