<pre style="font-family: arial,helvetica,sans-serif;"><span>I found this code in Graphics.Rendering.OpenGL.GL.VertexArrays in the OpenGL package, version <a href="http://2.2.3.0">2.2.3.0</a>:<br><br>vertexAttribPointer</span> <span>::</span> <span>AttribLocation</span> <span>-&gt;</span> <span>StateVar</span> <span>(</span><span>IntegerHandling</span><span>,</span> <span>VertexArrayDescriptor</span> <span>a</span><span>)</span><br>

<span>vertexAttribPointer</span> <span>location</span> <span>=</span> <span>undefined</span><br><a name="1227b13b1442403e_line-535"></a>   <span>makeStateVar</span> <span>(</span><span>getVertexAttribPointer_</span> <span>location</span><span>)</span> <span>(</span><span>setVertexAttribPointer</span> <span>location</span><span>)</span><br>


Is that &quot;undefined&quot; intentional?  When I remove &quot;undefined&quot;, it works fine.<br><br>  - Conal<br></pre>