rsx: Remove texture mipmap hack

This commit is contained in:
eladash 2018-10-01 07:57:12 +03:00 committed by kd-11
parent 6586090307
commit a92ae827c1
3 changed files with 12 additions and 10 deletions

View file

@ -214,7 +214,7 @@ namespace gl
glSamplerParameterfv(samplerHandle, GL_TEXTURE_BORDER_COLOR, border_color.rgba);
if (sampled_image->upload_context != rsx::texture_upload_context::shader_read ||
tex.get_exact_mipmap_count() <= 1)
tex.get_exact_mipmap_count() == 1)
{
GLint min_filter = tex_min_filter(tex.min_filter());