gl.finish at frame ends