mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Fix love.font.newBMFontRasterizer when it's given a single file param.
This commit is contained in:
@@ -154,7 +154,7 @@ int w_newBMFontRasterizer(lua_State *L)
|
|||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (!lua_isnoneornil(L, 2))
|
||||||
{
|
{
|
||||||
convimagedata(L, 2);
|
convimagedata(L, 2);
|
||||||
image::ImageData *id = luax_checktype<image::ImageData>(L, 2);
|
image::ImageData *id = luax_checktype<image::ImageData>(L, 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user