My code works in Gl 3.1, but not in 3.3? What's wrong? (core profile issues maybe?)

Printable View