Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mip-Mapping for zoom-out #5

Open
eafurst opened this issue Sep 14, 2018 · 0 comments
Open

Mip-Mapping for zoom-out #5

eafurst opened this issue Sep 14, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@eafurst
Copy link

eafurst commented Sep 14, 2018

Useful snippets:

auto glGenerateMipmap = (void(*)(GLenum))glfwGetProcAddress("glGenerateMipmap");
assert(glGenerateMipmap);
glBindTexture(GL_TEXTURE_2D, idTex);
    glTexImage2D(GL_TEXTURE_2D, ...)
    glGenerateMipMap(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, 0);
@slomp slomp added the enhancement New feature or request label Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants