mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Move decoder-agnostic love.image code out of the magpie backend folder.
--HG-- branch : minor
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user