fonts now work (seemingly) as well as they used to

This commit is contained in:
Bill Meltsner
2010-04-15 14:04:16 -04:00
parent f8f812a719
commit de6c8fd704
3 changed files with 23 additions and 20 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ namespace opengl
{
Font * t = luax_checkfont(L, 1);
const char * str = luaL_checkstring(L, 2);
lua_pushnumber(L, t->getWidth(str));
lua_pushinteger(L, t->getWidth(str));
return 1;
}