mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Replaced the devil love.image module with love.image.magpie, which can decide which image library to use in a similar manner to love.sound.lullaby. Some rough edges still exist.
love.filesystem.newFileData now accepts filepaths and File objects. --HG-- branch : image-CompressedData
This commit is contained in:
@@ -20,8 +20,6 @@
|
||||
|
||||
#include "ImageData.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
using love::thread::Lock;
|
||||
|
||||
namespace love
|
||||
@@ -30,6 +28,7 @@ namespace image
|
||||
{
|
||||
|
||||
ImageData::ImageData()
|
||||
: data(0)
|
||||
{
|
||||
mutex = thread::newMutex();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user