guarded some glFinish() code