Puerarin inhibits the retinal pericyte apoptosis induced by advanced glycation end products in vitro and in vivo by inhibiting NADPH oxidase-related oxidative stress.