2d graphics engine written in C++11 and OpenGL