Use GL_LINEAR_MIPMAP_NEAREST instead of GL_LINEAR_MIPMAP_LINEAR for a 10fps gain on XMB on imx6

This commit is contained in:
Jean-André Santoni 2015-02-17 23:13:27 +01:00
parent e44087d62a
commit 04140f7093

View File

@ -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;