mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 05:46:06 -04:00
Merge branch 'master' of https://bitbucket.org/mfeemster/fractorium
This commit is contained in:
@ -67,9 +67,8 @@
|
||||
#include <OpenEXR/ImfRgbaFile.h>
|
||||
#include <OpenEXR/ImfStringAttribute.h>
|
||||
#include <OpenEXR/half.h>
|
||||
#undef FALSE
|
||||
#undef TRUE
|
||||
#include <mach-o/dyld.h>
|
||||
#define ENUM_DYLD_BOOL
|
||||
#include <mach-o/dyld.h>
|
||||
#else
|
||||
#include <ImfRgbaFile.h>
|
||||
#include <ImfStringAttribute.h>
|
||||
|
@ -59,7 +59,7 @@ static bool WriteJpeg(const char* filename, byte* image, size_t width, size_t he
|
||||
info.image_width = JDIMENSION(width);
|
||||
info.image_height = JDIMENSION(height);
|
||||
jpeg_set_defaults(&info);
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
jpeg_set_quality(&info, quality, static_cast<boolean>(TRUE));
|
||||
jpeg_start_compress(&info, static_cast<boolean>(TRUE));
|
||||
//Win32:TRUE is defined in MSVC2013\Windows Kits\8.1\Include\shared\minwindef.h:"#define TRUE 1"
|
||||
|
Reference in New Issue
Block a user