enerated if
        if <em class="parameter"><code>internalformat</code></em> is not one of the paletted formats and
        <em class="parameter"><code>level</code></em> is greater than 0 or the
        absolute value of <em class="parameter"><code>level</code></em> is greater than
        <math overflow="scroll">
            <msub><mo>log</mo><mn>2</mn></msub><mi>max</mi>
        </math>, where
        <em class="parameter"><code>max</code></em> is the returned value of
        <code class="constant">GL_M