mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Don't assume we can use NPOT mipmapped textures for anything GLES2
This commit is contained in:
parent
274513a9c5
commit
922e6f868b
@ -65,7 +65,7 @@ void gl_load_texture_data(GLuint id,
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, wrap);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, wrap);
|
||||
|
||||
#ifdef IOS
|
||||
#ifdef HAVE_OPENGLES2
|
||||
if (filter_type == TEXTURE_FILTER_MIPMAP_LINEAR)
|
||||
filter_type = TEXTURE_FILTER_LINEAR;
|
||||
if (filter_type == TEXTURE_FILTER_MIPMAP_NEAREST)
|
||||
|
Loading…
x
Reference in New Issue
Block a user