diff --git a/engine/src/texture.cpp b/engine/src/texture.cpp index 6bfffbc..296d873 100644 --- a/engine/src/texture.cpp +++ b/engine/src/texture.cpp @@ -27,8 +27,8 @@ Texture::Texture(const char *imagePath, bool alpha) { // Set texture filtering parameters for minification and magnification // (mipmapping) glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, - GL_LINEAR_MIPMAP_LINEAR); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); + GL_NEAREST_MIPMAP_NEAREST); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); // Load the image, then create texture and generate the mipmaps int w, h, c;