Testing 2d OpenGl in c++11, simle platformer