Made the TurboJPEG code for decoding and encoding images disable-able.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-18 00:18:47 -04:00
parent 5652475dd2
commit d0300a4fa7
3 changed files with 16 additions and 1 deletions
+4
View File
@@ -43,7 +43,11 @@ namespace magpie
Image::Image()
{
formatHandlers.push_back(new PNGHandler);
#ifndef LOVE_NO_TURBOJPEG
formatHandlers.push_back(new JPEGHandler);
#endif
formatHandlers.push_back(new STBHandler);
#ifdef LOVE_SUPPORT_IMAGEIO