title: What's wrong with this Texture Mapping?
body: <p>I am about to go mad because of texture mapping of openGL. It nevers maps the right thing, please have a look.</p>
  
  <pre><code>glEnable(GL_TEXTURE_2D);
  glBindTexture(GL_TEXTURE_2D, speed.texID);
  glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL);
  
  glBegin(GL_QUADS);
      glTexCoord2f(1,0); 
      glVertex2f(210, 638);   //Top-Left
      glTexCoord2f(1,1);
      glVertex2f(210, 438);   //Top-Right
      glTexCoord2f(0,1); 
      glVertex2f(10, 438);    //Bottom-Right
      glTexCoord2f(0,0);
      glVertex2f(10, 638);    //Bottom-Left
  glEnd();
  glDisable(GL_TEXTURE_2D);
  </code></pre>
  
  <p>After this code output image becomes this: 
  <img src="https://i.stack.imgur.com/4ZbNy.png" alt="enter image description here"></p>
  
  <p>But I want it to be like this:                <img src="https://i.stack.imgur.com/jz8nT.png" alt="enter image description here"></p>
  
  <p>When I change the texture to something else, it maps it correctly but apparently not this one. Why do you think this could be?</p>