Make text go through the 3D pipeline

This commit is contained in:
Hector Martin 2010-12-18 20:57:46 +01:00
parent 88424dd739
commit 4a25b8e68d

View 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);