Skip to content

Commit

Permalink
Merge pull request BSVino#50 from ratchetfreak/patch-1
Browse files Browse the repository at this point in the history
glDrawElements update indices description
  • Loading branch information
BSVino authored Feb 9, 2017
2 parents b7aa3a7 + c5d9028 commit 9f0f36f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gl3/glDrawElements.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
<code class="constant">GL_UNSIGNED_BYTE</code>, <code class="constant">GL_UNSIGNED_SHORT</code>, or
<code class="constant">GL_UNSIGNED_INT</code>.
</p></dd><dt><span class="term"><em class="parameter"><code>indices</code></em></span></dt><dd><p>
Specifies a pointer to the location where the indices are stored.
Specifies an offset of the first index in the array in the data store of the buffer currently bound to
the GL_ELEMENT_ARRAY_BUFFER target.
</p></dd></dl></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="description"></a><h2>Description</h2><p>
<code class="function">glDrawElements</code> specifies multiple geometric primitives
with very few subroutine calls. Instead of calling a GL function
Expand Down
3 changes: 2 additions & 1 deletion gl4/glDrawElements.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
</dt>
<dd>
<p>
Specifies a pointer to the location where the indices are stored.
Specifies an offset of the first index in the array in the data store of the buffer currently bound to
the GL_ELEMENT_ARRAY_BUFFER target.
</p>
</dd>
</dl>
Expand Down

0 comments on commit 9f0f36f

Please sign in to comment.