Testing OpenGL stuff in C++