running but not rendering version on the way of migrating to OpenGL 3.2