title: OpenGL- drawarrays or drawelements?
body: <p>I'm making a small 2D game demo and from what I've read, it's better to use <code>drawElements()</code> to draw an indexed triangle list than using <code>drawArrays()</code> to draw an unindexed triangle list.</p>
  
  <p>But it doesn't seem possible as far as I know to draw multiple elements that are not connected in a single draw call with <code>drawElements()</code>.</p>
  
  <p>So for my 2D game demo where I'm only ever going to draw squares made of two triangles, what would be the best approach so I don't end having one draw call per object?</p>