A simple 2D game in OpenGL/ C++