Make text go through the 3D pipeline
This commit is contained in:
parent
88424dd739
commit
4a25b8e68d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue