Mercurial > love-experiments
diff src/modules/image/ImageData.cpp @ 1422:377f9dad7a2d image-CompressedData
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.
| author | Alex Szpakowski <slime73@gmail.com> |
|---|---|
| date | Sun, 07 Apr 2013 17:18:34 -0300 |
| parents | 2a5ef265e040 |
| children | 59f5284fe9eb |
line wrap: on
line diff
--- a/src/modules/image/ImageData.cpp Fri Apr 05 18:55:44 2013 -0300 +++ b/src/modules/image/ImageData.cpp Sun Apr 07 17:18:34 2013 -0300 @@ -20,8 +20,6 @@ #include "ImageData.h" -#include <stdio.h> - using love::thread::Lock; namespace love @@ -30,6 +28,7 @@ { ImageData::ImageData() + : data(0) { mutex = thread::newMutex(); }
