Does being on the computer cause glasses?

I was just wondering. I usually use the computer, and sometimes even 4-6 hours. Does this make you get glasses? I also usually go on my iPhone at night, with out any lights. It's weird because some people who don't even use the computer have glasses, but I use it a lot and I don't have glasses

Keep using it and not worry about anything.genetics cause glasses need, not activities.there's no evidence that using a computer causes anything permanent

No. When you are on the computer rest your eyes whenever they are tired.