title: Question about glBindTexture
body: <p>This is a method I use to draw sprites:</p>
  
  <pre><code>public void DrawSprite(Sprite sprite)
          {
              Gl.glBegin(Gl.GL_TRIANGLES);
              {
                  for (int i = 0; i &lt; Sprite.VertexAmount; i++)
                  {
                      Gl.glBindTexture(Gl.GL_TEXTURE_2D, sprite.Texture.Id);
                      DrawImmediateModeVertex(
                      sprite.VertexPositions[i],
                      sprite.VertexColors[i],
                      sprite.VertexUVs[i]);
                  }
              }
              Gl.glEnd();
          }
  </code></pre>
  
  <p><code>DrawImmediateModeVertex</code> - draws one vertex.</p>
  
  <p>Should I get <code>Gl.glBindTexture</code> out of the for loop? Also strange things happen when I render a texture, even though i provide sprites with different texture ids, just one same texture is drawn every time.</p>