Merge branch 'libpng17' of https://github.com/jbowler/libpng-1 into libpng17

This commit is contained in:
Glenn Randers-Pehrson
2015-09-25 18:43:07 -05:00
2 changed files with 11 additions and 8 deletions

View File

@@ -11115,7 +11115,7 @@ int main(int argc, char **argv)
# ifdef PNG_WRITE_tRNS_SUPPORTED
pm.test_tRNS = 1;
# endif
pm.test_lbg = 0;
pm.test_lbg = PNG_LIBPNG_VER >= 10600;
pm.test_lbg_gamma_threshold = 1;
pm.test_lbg_gamma_transform = PNG_LIBPNG_VER >= 10600;
pm.test_lbg_gamma_sbit = 1;