Merge remote-tracking branch 'upstream/12.0-development' into 12.0-development

This commit is contained in:
niki
2022-10-25 13:52:35 +02:00
4 changed files with 106 additions and 42 deletions
+2
View File
@@ -2335,6 +2335,8 @@ int w_getBackgroundColor(lua_State *L)
int w_setNewFont(lua_State *L)
{
luax_markdeprecated(L, 1, "love.graphics.setNewFont", API_FUNCTION, DEPRECATED_NO_REPLACEMENT, nullptr);
int ret = w_newFont(L);
Font *font = luax_checktype<Font>(L, -1);
instance()->setFont(font);