From 04140f70931119905de4cbac98cb16d7f4f673cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Tue, 17 Feb 2015 23:13:27 +0100 Subject: [PATCH] Use GL_LINEAR_MIPMAP_NEAREST instead of GL_LINEAR_MIPMAP_LINEAR for a 10fps gain on XMB on imx6 --- gfx/gl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/gl_common.c b/gfx/gl_common.c index 888fb3d322..b9e0f90d4c 100644 --- a/gfx/gl_common.c +++ b/gfx/gl_common.c @@ -38,7 +38,7 @@ void gl_load_texture_data(GLuint id, switch (filter_type) { case TEXTURE_FILTER_MIPMAP_LINEAR: - min_filter = GL_LINEAR_MIPMAP_LINEAR; + min_filter = GL_LINEAR_MIPMAP_NEAREST; mag_filter = GL_LINEAR; #ifndef HAVE_PSGL want_mipmap = true;