Visual acuity impairment in patients with retinitis pigmentosa