Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix description of drawRangeElements out-of-range behavior. #3713

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions specs/latest/2.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2486,10 +2486,10 @@ <h4><a name="WRITING_TO_THE_DRAWING_BUFFER">Writing to the drawing buffer</a></h
<code>drawElements</code> in the section <a href="../1.0/index.html#WRITING_TO_THE_DRAWING_BUFFER">Writing
to the drawing buffer</a> of the WebGL 1.0 specification apply.<br><br>

In addition, if indices used to draw are outside the range of [<em>start</em>, <em>end</em>], an imeplementation
can either guarantee the behaviors defined in <a href="../1.0/index.html#OUT_OF_RANGE_ARRAY_ACCESSES">Out-of-Range
Array Accesses</a>, or simply discard the arguments <em>start</em> and <em>end</em> and call <code>drawElements</code>
instead. In either situation, no GL errors should be generated for this cause.
In addition, if indices used to draw are outside the range of [<em>start</em>, <em>end</em>], an implementation
can either guarantee the behaviors defined in <a href="../1.0/index.html#ATTRIBS_AND_RANGE_CHECKING">Enabled
Vertex Attributes and Range Checking</a>, or simply discard the arguments <em>start</em> and <em>end</em> and
call <code>drawElements</code> instead. In either situation, no GL errors should be generated for this cause.
</dd>
</dl>

Expand Down