Improved the error message when nil is passed as the first argument to love.image.newImageData (resolves issue #1205).

This commit is contained in:
Alex Szpakowski
2016-08-21 11:22:21 -03:00
parent 154f7cbc7e
commit acde58d311
3 changed files with 22 additions and 11 deletions
+1
View File
@@ -39,6 +39,7 @@ namespace filesystem
* May trigger a Lua error.
**/
FileData *luax_getfiledata(lua_State *L, int idx);
bool luax_cangetfiledata(lua_State *L, int idx);
File *luax_getfile(lua_State *L, int idx);
bool hack_setupWriteDirectory();