From e5a792515efb0fa38e66de7b07feb8e6ba09ee32 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sat, 4 Jun 2016 19:41:53 +0800 Subject: [PATCH] GL: set texture bias (#1742) --- rpcs3/Emu/RSX/GL/rsx_gl_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/GL/rsx_gl_texture.cpp b/rpcs3/Emu/RSX/GL/rsx_gl_texture.cpp index 42c91c725a..3664da6503 100644 --- a/rpcs3/Emu/RSX/GL/rsx_gl_texture.cpp +++ b/rpcs3/Emu/RSX/GL/rsx_gl_texture.cpp @@ -463,7 +463,7 @@ namespace rsx glTexParameteri(m_target, GL_TEXTURE_COMPARE_FUNC, gl_tex_zfunc[tex.zfunc()]); - // TODO: Handle texture bias + glTexEnvi(GL_TEXTURE_FILTER_CONTROL, GL_TEXTURE_LOD_BIAS, (GLint)tex.bias()); glTexParameteri(m_target, GL_TEXTURE_MIN_LOD, (tex.min_lod() >> 8)); glTexParameteri(m_target, GL_TEXTURE_MAX_LOD, (tex.max_lod() >> 8));