title: How to turn off OpenGL filtering when scaling up textures?
body: <p>I already have these lines in here when I'm loading the texture:</p>
  
  <pre><code>glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
  glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
  </code></pre>
  
  <p>But when I scale the image here during rendering:</p>
  
  <pre><code>glTexCoord2d(0.0,0.0);
  glTexCoord2d(0.0454,0.0);
  glTexCoord2d(0.0454,1.0);
  glTexCoord2d(1.0,1.0);
  </code></pre>
  
  <p>I get really bad filtering on the texture (the texture is a spritesheet with multiple frames and I'd rather not make an individual file for each frame).</p>