]> Some of my projects - openlase-old.git/commitdiff
Make text go through the 3D pipeline
authorHector Martin <hector@marcansoft.com>
Sat, 18 Dec 2010 19:57:46 +0000 (20:57 +0100)
committerHector Martin <hector@marcansoft.com>
Sat, 18 Dec 2010 19:57:46 +0000 (20:57 +0100)
libol/text.c

index db178fe6c7e581e5138245e4b19dea88df6c29ef..bac4887ab407bb7a9cbcd36762f672f68528047a 100644 (file)
@@ -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);