complete source code compiled and run under Ubuntu 12.04 with OpenGL 2.1