Fixed using the 3.2 override for glFramebufferTexture