got rendering working in OpenGL 2.1