summaryrefslogtreecommitdiff
path: root/pngrtran.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-04-13 22:11:06 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-04-13 22:11:06 -0500
commit6098807252551c64e459e05638665827ff15b314 (patch)
treeed7be7936db3e0c3bbb3f110dc119221f13e9ee5 /pngrtran.c
parent54ac9a918ee25f77417bebc1cd657acff7446c0c (diff)
downloadlibpng-6098807252551c64e459e05638665827ff15b314.tar.gz
[devel] Document the fact that png_set_dither() is no longer supported.
Diffstat (limited to 'pngrtran.c')
-rw-r--r--pngrtran.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pngrtran.c b/pngrtran.c
index 38e158490..813394797 100644
--- a/pngrtran.c
+++ b/pngrtran.c
@@ -535,7 +535,7 @@ png_set_dither(png_structp png_ptr, png_colorp palette,
png_free(png_ptr, distance);
}
}
-#endif
+#endif /* PNG_READ_DITHER_SUPPORTED */
#if defined(PNG_READ_GAMMA_SUPPORTED) && defined(PNG_FLOATING_POINT_SUPPORTED)
/* Transform the image from the file_gamma to the screen_gamma. We