ER_ATTACHMENT_OBJECT_TYPE</code> or <code class="constant">GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME</code>.
        </p><p>
            <code class="constant">GL_INVALID_ENUM</code> is generated if the attached object at the named attachment point is <code class="constant">GL_TEXTURE</code> and <em class="parameter"><code>pname</code></em> is not
            <code class="constant">GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE</code>, <code class="constant">GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME</code>,
            <cod