Simple game on cpp with OpenGL