Is this the right check?  Doesn't it depend on if the framebuffers are complete?