Why wouldn't it? Bright light and dark light causes your pupils to dilate differently, right? That's muscles actuated by input from the retina. Focusing is also about shaping the eye using muscles. It would actually be kind of weird if retina input wasn't used to shape the eyes.