ified by <code class="function">glShadeModel</code> with <em class="parameter"><code>mode</code></em> set to
            <code class="constant">GL_FLAT</code> and <code class="constant">GL_SMOOTH</code>, respectively.
        </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="errors"></a><h2>Errors</h2><p>
            <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>mode</code></em> is any value other than
            <code class="constant">GL_FLAT</code>