This is the weirdest most annoying bug I've ever had, mainly because the pi will freeze and be unable to create a new context until it unfreezes (approx 2 minutes). I've narrowed it down to a single line of code with testing over a span of a few days.
It's my fragment shader eyes.frag that's doing it and the single line of code is this:
This definitely seems like a driver problem. I was wondering if anyone had any suggestions. My project is also linked here if anyone wants to try it. https://www.dropbox.com/s/u8xfxuzhdkj5e9o/eyes.zip?dl=0