Removed the automatic textures generation master
authorEleni Maria Stea <estea@igalia.com>
Mon, 22 Oct 2018 09:43:00 +0000 (12:43 +0300)
committerEleni Maria Stea <estea@igalia.com>
Sun, 11 Nov 2018 07:45:52 +0000 (09:45 +0200)
main.c

diff --git a/main.c b/main.c
index 6f3742b..871edbc 100644 (file)
--- a/main.c
+++ b/main.c
@@ -288,7 +288,6 @@ int load_texture(const char *fname, struct texture *tex)
        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
                        hdr.levels > 1 ? GL_NEAREST_MIPMAP_NEAREST : GL_NEAREST);
        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
-       glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_SGIS, 1);
 
        tex->fmt = hdr.glfmt;
        tex->width = hdr.width;