Added a more complete OpenGL sample