Got rotating colored triangle to work in opengl 3.2