Changed the output to opengl framebuffer instead of an image file