draw the output to the framebuffer