vo_gl3: call glFlush() after frame drawing is complete