Added Image:refresh(), reloads a love.graphics image using the imagedata that created it

This commit is contained in:
Alex Szpakowski
2013-04-10 00:15:43 -03:00
parent c215541d6c
commit b22f1aa16a
4 changed files with 78 additions and 18 deletions
+1
View File
@@ -43,6 +43,7 @@ int w_Image_getMipmapFilter(lua_State *L);
int w_Image_setWrap(lua_State *L);
int w_Image_getWrap(lua_State *L);
int w_Image_isCompressed(lua_State *L);
int w_Image_refresh(lua_State *L);
extern "C" int luaopen_image(lua_State *L);
} // opengl