OpenGL game in C++