Lightweight graphics using C++/OpenGL 4