Simple game in Cpp and OpenGL