Skip to content

Instantly share code, notes, and snippets.

@robmerrell
Created June 22, 2010 19:43
Show Gist options
  • Save robmerrell/448956 to your computer and use it in GitHub Desktop.
Save robmerrell/448956 to your computer and use it in GitHub Desktop.
glTexParameterf(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_NEAREST);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameterf(GL_TEXTURE_2D,GL_GENERATE_MIPMAP, GL_TRUE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment