That's a shame, but I bonk my head on the edge of pools all the time also and my eyesight it just fine hahaI know how to swim, but I have incredibly bad eyesight, so I rarely swim anymore - I bonk my head on the ends of pools. I don't ever swim in a lake when we go camping, but do wade a bit if the water is clear..
There are also prescription swim goggles available if you find glasses your glasses keep coming off @Northern Dancer @actadh