opengl: move renderer clean up to DeleteRenderer()