mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Made the TurboJPEG code for decoding and encoding images disable-able.
--HG-- branch : minor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user