]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Utils/ImageIO.cpp
ImageIO: fix invalid conversion
[lugaru.git] / Source / Utils / ImageIO.cpp
index 124f1b7658cb660ed4dddc4e7fc34c44f7367ec5..c19a63e5f6e65878b15b95e54477787a11196c26 100644 (file)
@@ -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);