Changed outputTex to a QGLTexture2D which is resized instead of having a max size