Fix TinyGL text rendering.
This commit is contained in:
parent
b05a8c8e31
commit
86c5751695
4 changed files with 28 additions and 10 deletions
|
@ -73,6 +73,7 @@ void L1_ChangeTextObject() {
|
|||
if (!lua_istable(paramObj))
|
||||
break;
|
||||
setTextObjectParams(textObject, paramObj);
|
||||
textObject->destroy();
|
||||
} else {
|
||||
line = lua_getstring(paramObj);
|
||||
textObject->setText(line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue