Fix TinyGL text rendering.

This commit is contained in:
Joel Teichroeb 2011-06-07 09:20:10 -07:00
parent b05a8c8e31
commit 86c5751695
4 changed files with 28 additions and 10 deletions

View file

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