My first attempt at making a 2D graphics engine in Qt + OpenGL