Bug 1049195 - Call glFlush() for each frame if necessary r=jgilbert