mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Automatically deduce the type in luax_checktype, luax_getmodule, luax_optmodule and luax_totype
--HG-- branch : dynamiccore2
This commit is contained in:
@@ -40,7 +40,7 @@ namespace image
|
||||
|
||||
ImageData *luax_checkimagedata(lua_State *L, int idx)
|
||||
{
|
||||
return luax_checktype<ImageData>(L, idx, ImageData::type);
|
||||
return luax_checktype<ImageData>(L, idx);
|
||||
}
|
||||
|
||||
int w_ImageData_getFormat(lua_State *L)
|
||||
|
||||
Reference in New Issue
Block a user