Skip to content

Commit

Permalink
Add error possible in 3.2 core profile
Browse files Browse the repository at this point in the history
Saw this from a 3.2 core compatible context, though I couldn't find a Khronos API doc for it. Looks like this belongs here, but I'm new to desktop GL so maybe I'm missing something.
  • Loading branch information
nmr8acme authored Jul 18, 2017
1 parent 0780950 commit 3b2d2d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gl3/glEnableVertexAttribArray.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
or
<a href="glMultiDrawArrays"><span class="citerefentry"><span class="refentrytitle">glMultiDrawArrays</span></span></a>.</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="errors"></a><h2>Errors</h2><p><code class="constant">GL_INVALID_VALUE</code> is generated if
<em class="parameter"><code>index</code></em> is greater than or equal to
<code class="constant">GL_MAX_VERTEX_ATTRIBS</code>.</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="associatedgets"></a><h2>Associated Gets</h2><p><a href="glGet"><span class="citerefentry"><span class="refentrytitle">glGet</span></span></a>
<code class="constant">GL_MAX_VERTEX_ATTRIBS</code>.</p><p><code class="constant">GL_INVALID_OPERATION</code> is generated if
there is no current vertex array object.</p>

</div><div class="refsect1" lang="en" xml:lang="en"><a id="associatedgets"></a><h2>Associated Gets</h2><p><a href="glGet"><span class="citerefentry"><span class="refentrytitle">glGet</span></span></a>
with argument <code class="constant">GL_MAX_VERTEX_ATTRIBS</code></p><p><a href="glGetVertexAttrib"><span class="citerefentry"><span class="refentrytitle">glGetVertexAttrib</span></span></a>
with arguments <em class="parameter"><code>index</code></em> and
<code class="constant">GL_VERTEX_ATTRIB_ARRAY_ENABLED</code>
Expand Down

0 comments on commit 3b2d2d8

Please sign in to comment.