mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
fonts now work (seemingly) as well as they used to
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user