      or if either cannot be represented as
        <math overflow="scroll">
            <msup><mn>2</mn><mi>k</mi></msup>
        </math>
        for some integer <em class="replaceable"><code>k</code></em>.</p><p><code class="constant">GL_INVALID_VALUE</code> is generated if
        <em class="parameter"><code>border</code></em> is not 0.</p><p><code class="constant">GL_INVALID_VALUE</code> is generated if
        <em class="parameter"><code>imageSize</code></em> is not consistent
        with format, dim