From: Eleni Maria Stea Date: Mon, 22 Oct 2018 09:43:00 +0000 (+0300) Subject: Removed the automatic textures generation X-Git-Url: https://eleni.mutantstargoat.com/git/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=test_compression Removed the automatic textures generation --- diff --git a/main.c b/main.c index 6f3742b..871edbc 100644 --- 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;