From: Hector Martin Date: Sat, 18 Dec 2010 19:57:46 +0000 (+0100) Subject: Make text go through the 3D pipeline X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=4a25b8e68d2242f57bacf4adc2c8de910cdc06f8;p=openlase.git Make text go through the 3D pipeline --- 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);