C++ and OpenGL stuff