title: OpenGL Drawing multiple objects
body: <p>Do i need to have separate draw call for each object i would like to render and then swap buffers?</p>
  <p>As i understand i have one VBO rendered, then another VBO is bidden and is drawn, and after all that i am swapping buffers to present the back buffer.</p>
  <p>for Example
  //Then Render</p>
  <pre><code>    float vertices[] = {
      -0.5f, -0.5f, 0.0f,
      0.5f, -0.5f, 0.0f,
      0.0f,  0.5f, 0.0f
      };
  
      //Create Vertex Buffer
      GLint VBO = 0;
      glGenBuffers(1, &amp;VBO);
      glBindBuffer(GL_ARRAY_BUFFER, VBO);
      glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
  
      glUseProgram(ShaderProgram);
      glDrawArrays(GL_TRIANGLES, 0, 3);
  </code></pre>
  <p>Here i draw a single triangle, how would one go about drawing a second triangle with different shader program</p>