Move decoder-agnostic love.image code out of the magpie backend folder.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-08-01 23:22:24 -03:00
parent 217552b5ff
commit 84d5d8b636
37 changed files with 631 additions and 921 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
#include "common/Data.h"
#include "common/StringMap.h"
#include "magpie/Image.h"
#include "Image.h"
#include "filesystem/wrap_Filesystem.h"
@@ -154,7 +154,7 @@ extern "C" int luaopen_love_image(lua_State *L)
Image *instance = instance();
if (instance == nullptr)
{
luax_catchexcept(L, [&](){ instance = new love::image::magpie::Image(); });
luax_catchexcept(L, [&](){ instance = new love::image::Image(); });
}
else
instance->retain();