Tweaked one of the OGLplus examples