Skip to content

Commit

Permalink
Fix GL_INVALID_ENUM error reason in es3/glFramebufferTexture2D
Browse files Browse the repository at this point in the history
  • Loading branch information
jsyishan committed Aug 30, 2023
1 parent 2d72460 commit bb3157c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es3/glFramebufferTexture2D.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
<code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>target</code></em> is not one of the accepted tokens.
</p>
<p>
<code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>renderbuffertarget</code></em> is not <code class="constant">GL_RENDERBUFFER</code>.
<code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>attachment</code></em> is not one of the attachment points listed above.
</p>
<p>
<code class="constant">GL_INVALID_OPERATION</code> is generated if zero is bound to <em class="parameter"><code>target</code></em>.
Expand Down

0 comments on commit bb3157c

Please sign in to comment.