Skip to content

Commit

Permalink
modify the error situation that is inconsistent with the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
peixin.dai committed Oct 12, 2023
1 parent 080c215 commit 2ef5a37
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gl4/glBindImageTexture.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,10 @@
is less than zero.
</p>
<p>
<code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>access</code></em> or <em class="parameter"><code>format</code></em>
is not one of the supported tokens.
<code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>access</code></em> is not one of the supported tokens.
</p>
<p>
<code class="constant">GL_INVALID_VALUE</code> is generated if <em class="parameter"><code>format</code></em> is not one of the supported tokens.
</p>
</div>
<div class="refsect1" id="associatedgets">
Expand Down

0 comments on commit 2ef5a37

Please sign in to comment.