X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=blobdiff_plain;f=Source%2FUtils%2FImageIO.cpp;h=c19a63e5f6e65878b15b95e54477787a11196c26;hp=124f1b7658cb660ed4dddc4e7fc34c44f7367ec5;hb=bb543993bb6f1eb76519a395d9a0a10ee777d160;hpb=b9a46d8e2b7e7e22c706e7dd3734f31015db4408 diff --git a/Source/Utils/ImageIO.cpp b/Source/Utils/ImageIO.cpp index 124f1b7..c19a63e 100644 --- a/Source/Utils/ImageIO.cpp +++ b/Source/Utils/ImageIO.cpp @@ -1,6 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games -Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) +Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -122,7 +122,7 @@ static bool load_jpg(const char* file_name, ImageRec& tex) (void)jpeg_read_header(&cinfo, TRUE); cinfo.out_color_space = JCS_RGB; - cinfo.quantize_colors = 0; + cinfo.quantize_colors = FALSE; (void)jpeg_calc_output_dimensions(&cinfo); (void)jpeg_start_decompress(&cinfo);