added fullscreen quad function to display intermediate frames