From cf75171628a3868acf17b13db187b98d03deee97 Mon Sep 17 00:00:00 2001 From: Eleni Maria Stea Date: Mon, 22 Oct 2018 12:43:00 +0300 Subject: [PATCH] Removed the automatic textures generation --- main.c | 1 - 1 file changed, 1 deletion(-) 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; -- 1.7.10.4