Melanin is not required for turgor generation but enhances cell-wall rigidity in appressoria of the corn pathogen Colletotrichum graminicola.